DragonFly bugs List (threaded) for 2011-02
[Date Prev][
Date Next]
[Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
[PATCH 59/59] iwn - Fix a couple of missed serializer misuses.
Reported-By: Studbolt via (IRC)
---
sys/dev/netif/iwn/if_iwn.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sys/dev/netif/iwn/if_iwn.c b/sys/dev/netif/iwn/if_iwn.c
index 8615536..6167815 100644
--- a/sys/dev/netif/iwn/if_iwn.c
+++ b/sys/dev/netif/iwn/if_iwn.c
@@ -3359,7 +3359,9 @@ iwn_start(struct ifnet *ifp)
sc = ifp->if_softc;
+ wlan_serialize_enter();
iwn_start_locked(ifp);
+ wlan_serialize_exit();
}
static void
@@ -6405,7 +6407,7 @@ iwn_pci_shutdown(device_t dev)
struct iwn_softc *sc = device_get_softc(dev);
wlan_serialize_enter();
- iwn_stop(sc);
+ iwn_stop_locked(sc);
wlan_serialize_exit();
return 0;
@@ -6448,7 +6450,7 @@ iwn_pci_resume(device_t dev)
if (vap != NULL)
ieee80211_init(vap);
if (ifp->if_flags & IFF_RUNNING)
- iwn_start(ifp);
+ iwn_start_locked(ifp);
}
wlan_serialize_exit();
--
1.7.0.7
--EeQfGwPcQSOJBaQU--
[Date Prev][
Date Next]
[Thread Prev][
Thread Next]
[
Date Index][
Thread Index]