Protect ISR against failure to unhook.
[people/lynusvaz/gpxe.git] / src / arch / i386 / drivers / net / undiisr.S
index b583869..f0b6193 100644 (file)
@@ -22,6 +22,10 @@ undiisr:
        pushw   %ds
        pushw   %es
        pusha
+
+       /* Check that we have an UNDI entry point */
+       cmpw    $0, undinet_entry_point
+       je      chain
        
        /* Issue UNDI API call */
        movw    %cs:rm_ds, %ax