diff --git a/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/if_wpi.c b/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/if_wpi.c
index 525b2e88b2..562c5c7c5b 100644
a
|
b
|
wpi_intr(void *arg)
|
2536 | 2536 | if (r1 == 0 && r2 == 0) |
2537 | 2537 | goto done; /* Interrupt not for us. */ |
2538 | 2538 | #else |
| 2539 | if (__predict_false(sc->sc_running == 0)) |
| 2540 | goto end; |
2539 | 2541 | r1 = atomic_get((int32 *)&sc->sc_intr_status_1); |
2540 | 2542 | r2 = atomic_get((int32 *)&sc->sc_intr_status_2); |
2541 | 2543 | #endif |
diff --git a/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/if_iwn.c b/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/if_iwn.c
index 0ce78aa065..c6f8ce7d7d 100644
a
|
b
|
iwn_intr(void *arg)
|
4116 | 4116 | r2 = IWN_READ(sc, IWN_FH_INT); |
4117 | 4117 | } |
4118 | 4118 | #else |
| 4119 | if (__predict_false((sc->sc_flags & IWN_FLAG_RUNNING) == 0)) |
| 4120 | goto done; |
4119 | 4121 | r1 = atomic_get((int32 *)&sc->sc_intr_status_1); |
4120 | 4122 | r2 = atomic_get((int32 *)&sc->sc_intr_status_2); |
4121 | 4123 | #endif |