...
This commit is contained in:
parent
a5b402b1f5
commit
8082128fc1
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue