diff options
Diffstat (limited to 'sys/dev/if_ndis')
-rw-r--r-- | sys/dev/if_ndis/if_ndis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c index 4c92c26..f89d766 100644 --- a/sys/dev/if_ndis/if_ndis.c +++ b/sys/dev/if_ndis/if_ndis.c @@ -1072,7 +1072,8 @@ ndis_linksts_done(adapter) case NDIS_STATUS_MEDIA_DISCONNECT: if (sc->ndis_80211) ndis_getstate_80211(sc); - ndis_sched(ndis_ticktask, sc, NDIS_TASKQUEUE); + if (sc->ndis_link) + ndis_sched(ndis_ticktask, sc, NDIS_TASKQUEUE); break; default: break; |