summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_anreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-11-10 22:04:19 +0000
committerjhb <jhb@FreeBSD.org>2009-11-10 22:04:19 +0000
commit48360d2da41b06f240c2b4c64285563f31a8ec31 (patch)
treef78b78dd2a55ee4e315765a4146ad0b5fd7cb803 /sys/dev/an/if_anreg.h
parent530d0376ecabc0c9766e9d14ccc5b045a1c5981d (diff)
downloadFreeBSD-src-48360d2da41b06f240c2b4c64285563f31a8ec31.zip
FreeBSD-src-48360d2da41b06f240c2b4c64285563f31a8ec31.tar.gz
- Locking fixes to not do silly things like drop the lock only to call a
function that immediately reacquires the lock. Also removes recursive locking. - Use the statistics timer to drive the transmit watchdog instead of using if_watchdog and if_timer. Tested by: gavin
Diffstat (limited to 'sys/dev/an/if_anreg.h')
-rw-r--r--sys/dev/an/if_anreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/an/if_anreg.h b/sys/dev/an/if_anreg.h
index 7b1484c..051a93b 100644
--- a/sys/dev/an/if_anreg.h
+++ b/sys/dev/an/if_anreg.h
@@ -489,6 +489,7 @@ struct an_softc {
struct ifmedia an_ifmedia;
int an_monitor;
int an_was_monitor;
+ int an_timer;
u_char buf_802_11[MCLBYTES];
struct an_req areq;
unsigned short* an_flash_buffer;
OpenPOWER on IntegriCloud