summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_athvar.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-04-17 06:02:41 +0000
committeradrian <adrian@FreeBSD.org>2012-04-17 06:02:41 +0000
commit1bc364bf7eebf6139e4f968987974484d35c5cb4 (patch)
treed85e9cfeec214ee5bd25400a9d32f43fe51f8452 /sys/dev/ath/if_athvar.h
parentab4c20c69dcd70561b35fcc954291a80344aaa79 (diff)
downloadFreeBSD-src-1bc364bf7eebf6139e4f968987974484d35c5cb4.zip
FreeBSD-src-1bc364bf7eebf6139e4f968987974484d35c5cb4.tar.gz
Run the fatal proc as a proc, rather than where it currently is.
Otherwise the reset path will sleep, which it can't do in this context.
Diffstat (limited to 'sys/dev/ath/if_athvar.h')
-rw-r--r--sys/dev/ath/if_athvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h
index b38369b..a651a9f 100644
--- a/sys/dev/ath/if_athvar.h
+++ b/sys/dev/ath/if_athvar.h
@@ -508,6 +508,7 @@ struct ath_softc {
struct task sc_bmisstask; /* bmiss int processing */
struct task sc_bstucktask; /* stuck beacon processing */
struct task sc_resettask; /* interface reset task */
+ struct task sc_fataltask; /* fatal task */
enum {
OK, /* no change needed */
UPDATE, /* update pending */
OpenPOWER on IntegriCloud