diff --git a/port/moonlight/mnrs_network_driver.c b/port/moonlight/mnrs_network_driver.c index d97c69e..ab2660a 100644 --- a/port/moonlight/mnrs_network_driver.c +++ b/port/moonlight/mnrs_network_driver.c @@ -869,7 +869,8 @@ ULONG words; data = packet_ptr -> nx_packet_prepend_ptr; size = packet_ptr -> nx_packet_length; words = (size+3)/4; - while(get_ethmac_mac_intr_rx_data_avail_intr_enable(ethmac) == 0); + while(get_ethmac_mac_ctrl_tx_ready(ethmac) == 0) + ; set_ethmac_mac_tx(ethmac, size*8); for(i=0; i