Page MenuHomeFreeBSD

D59624.1794715754.diff
No OneTemporary

Authored By
Unknown
Size
496 B
Referenced Files
None
Subscribers
None

D59624.1794715754.diff

diff --git a/sys/dev/iwx/if_iwx.c b/sys/dev/iwx/if_iwx.c
--- a/sys/dev/iwx/if_iwx.c
+++ b/sys/dev/iwx/if_iwx.c
@@ -8084,6 +8085,10 @@
enum ieee80211_state ostate = vap->iv_state;
int err = 0;
+ if (sc->sc_flags & IWX_FLAG_SHUTDOWN) {
+ return 0;
+ }
+
IWX_LOCK(sc);
if (nstate <= ostate || nstate > IEEE80211_S_RUN) {
@@ -10679,6 +10718,7 @@
int txq_i;
iwx_stop_device(sc);
+ sc->sc_flags |= IWX_FLAG_SHUTDOWN;
taskqueue_drain_all(sc->sc_tq);
taskqueue_free(sc->sc_tq);

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 15, 4:09 AM (12 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38879021
Default Alt Text
D59624.1794715754.diff (496 B)

Event Timeline