diff options
author | wpaul <wpaul@FreeBSD.org> | 2004-03-21 00:06:56 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2004-03-21 00:06:56 +0000 |
commit | 14202432d8f8324b424c7568b2a142567d110dfb (patch) | |
tree | 205094f07065563e4b4698408d1b99504fec35db /sys/dev | |
parent | 8feaa1f4505bcdc10cab48f06ef55675e2d6e324 (diff) | |
download | FreeBSD-src-14202432d8f8324b424c7568b2a142567d110dfb.zip FreeBSD-src-14202432d8f8324b424c7568b2a142567d110dfb.tar.gz |
Fix another Intel 2200BG bug: don't schedule ndis_ticktask() on media
disconnect events if the link wasn't even up yet.
Diffstat (limited to 'sys/dev')
-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; |