Fix another Intel 2200BG bug: don't schedule ndis_ticktask() on media
disconnect events if the link wasn't even up yet.
This commit is contained in:
parent
8feaa1f450
commit
14202432d8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user