mirror of https://github.com/ipxe/ipxe.git
[undi] Report any PXENV_UNDI_ISR errors via netdev_rx_err()
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/19/head
parent
402ce65632
commit
277f581ac3
|
@ -370,8 +370,10 @@ static void undinet_poll ( struct net_device *netdev ) {
|
|||
profile_start ( &undinet_isr_call_profiler );
|
||||
if ( ( rc = pxeparent_call ( undinet_entry, PXENV_UNDI_ISR,
|
||||
&undi_isr,
|
||||
sizeof ( undi_isr ) ) ) != 0 )
|
||||
sizeof ( undi_isr ) ) ) != 0 ) {
|
||||
netdev_rx_err ( netdev, NULL, rc );
|
||||
break;
|
||||
}
|
||||
profile_stop ( &undinet_isr_call_profiler );
|
||||
switch ( undi_isr.FuncFlag ) {
|
||||
case PXENV_UNDI_ISR_OUT_TRANSMIT:
|
||||
|
|
Loading…
Reference in New Issue