diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index 94629f40..336bfc44 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -762,7 +762,7 @@ err_t mmnif_tx(struct netif* netif, struct pbuf* p) #ifdef DEBUG_MMNIF DEBUGPRINTF("\n SEND 0x%.8X\n",(char*)mmnif->rx_buff + 2 + pos * 1792); - hex_dump(p->tot_len +2, mmnif->tx_buff[slot]); + hex_dump(p->tot_len +2, p->payload); #endif /* if driver is not in polling mode inform core that a message has arrived */