This commit is contained in:
Carl-Benedikt Krüger 2011-08-04 15:03:21 +02:00
parent a5b402b1f5
commit 8082128fc1

View file

@ -748,12 +748,10 @@ err_t mmnif_init(struct netif* netif)
memset(mmnif->rx_buff, 0, mpb_size);
mmnif->rx_buff->dcount = MMNIF_MAX_DESCRIPTORS;
mmnif->rx_buff->free_bytes_tail = MMNIF_RX_BUFFERLEN;
/* init the lock's for the hdr
*/
spinlock_init(&mmnif->rx_buff->wlock);
spinlock_init(&mmnif->rx_buff->rlock);
spinlock_init(&mmnif->rx_buff->dlock);