Bug #1964 » 0059-iwn-Fix-a-couple-of-missed-serializer-misuses.patch
| sys/dev/netif/iwn/if_iwn.c | ||
|---|---|---|
|
sc = ifp->if_softc;
|
||
|
wlan_serialize_enter();
|
||
|
iwn_start_locked(ifp);
|
||
|
wlan_serialize_exit();
|
||
|
}
|
||
|
static void
|
||
| ... | ... | |
|
struct iwn_softc *sc = device_get_softc(dev);
|
||
|
wlan_serialize_enter();
|
||
|
iwn_stop(sc);
|
||
|
iwn_stop_locked(sc);
|
||
|
wlan_serialize_exit();
|
||
|
return 0;
|
||
| ... | ... | |
|
if (vap != NULL)
|
||
|
ieee80211_init(vap);
|
||
|
if (ifp->if_flags & IFF_RUNNING)
|
||
|
iwn_start(ifp);
|
||
|
iwn_start_locked(ifp);
|
||
|
}
|
||
|
wlan_serialize_exit();
|
||
- « Previous
- 1
- 2
- 3
- Next »