This commit is contained in:
root 2011-06-21 13:36:21 +02:00
parent 1b710d63df
commit f71c64a735

View file

@ -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
*/