...
This commit is contained in:
parent
1b710d63df
commit
f71c64a735
1 changed files with 1 additions and 1 deletions
|
@ -841,7 +841,7 @@ err_t mmnif_init(struct netif* netif)
|
|||
DEBUGPRINTF("mmnif init(): allocating shared memory failed\n");
|
||||
return ERR_MEM;
|
||||
}
|
||||
memset(mmnif->rx_buff, 0, sizeof(mm_rx_buffer_t) + MMNIF_RX_QUEUELEN* MMNIF_RX_BUFFERLEN);
|
||||
memset(mmnif->rx_buff, 0, (sizeof(mm_rx_buffer_t) + MMNIF_RX_QUEUELEN* MMNIF_RX_BUFFERLEN)* MMNIF_CORES);
|
||||
|
||||
/* init the lock for the hdr
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue