Page MenuHomeFreeBSD

D59624.diff
No OneTemporary

D59624.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
@@ -8085,6 +8085,9 @@
int err = 0;
IWX_LOCK(sc);
+ if (sc->sc_flags & IWX_FLAG_SHUTDOWN) {
+ goto out;
+ }
if (nstate <= ostate || nstate > IEEE80211_S_RUN) {
switch (ostate) {
@@ -10679,6 +10682,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
Wed, Sep 16, 3:07 PM (58 m, 4 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38879159
Default Alt Text
D59624.diff (467 B)

Event Timeline