Don't hold NDIS_LOCK() around call to ndis_getstate_80211() since it
may block on ndis_get_info().
This commit is contained in:
parent
55b4db9ba1
commit
769a44a973
@ -1250,8 +1250,10 @@ ndis_ticktask(xsc)
|
||||
if (sc->ndis_link == 0 && linkstate == nmc_connected) {
|
||||
device_printf(sc->ndis_dev, "link up\n");
|
||||
sc->ndis_link = 1;
|
||||
NDIS_UNLOCK(sc);
|
||||
if (sc->ndis_80211)
|
||||
ndis_getstate_80211(sc);
|
||||
NDIS_LOCK(sc);
|
||||
}
|
||||
|
||||
if (sc->ndis_link == 1 && linkstate == nmc_disconnected) {
|
||||
|
Loading…
Reference in New Issue
Block a user