diff options
author | sam <sam@FreeBSD.org> | 2003-07-20 21:36:08 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-07-20 21:36:08 +0000 |
commit | 51c8bf1aebf18e644d2c3354aa5e0e5048baab1e (patch) | |
tree | 6b4b08b659abfee0261b08146037555ec5351239 /sys/net80211/ieee80211.c | |
parent | 6d201c6f71fac3e288a6c52e28186f84237bdb36 (diff) | |
download | FreeBSD-src-51c8bf1aebf18e644d2c3354aa5e0e5048baab1e.zip FreeBSD-src-51c8bf1aebf18e644d2c3354aa5e0e5048baab1e.tar.gz |
o change ieee80211_new_state handling to use a proper method that drivers
override in their sub-class; this eliminates the hack of interpreting the
EINPROGRESS return value to mean "don't do any of the normal work"
o correct active scanning so the first channel is only scanned once and so
per-channel passive mode is properly honored
o expose 802.11 FSM state names so every driver doesn't keep a private copy
o eliminate node parameter to ieee80211_begin_scan; it was not being used
Diffstat (limited to 'sys/net80211/ieee80211.c')
-rw-r--r-- | sys/net80211/ieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c index 1e0db22..de56d17 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -558,7 +558,7 @@ ieee80211_watchdog(struct ifnet *ifp) struct ieee80211com *ic = (void *)ifp; if (ic->ic_mgt_timer && --ic->ic_mgt_timer == 0) - ieee80211_new_state(ifp, IEEE80211_S_SCAN, -1); + ieee80211_new_state(ic, IEEE80211_S_SCAN, -1); if (ic->ic_inact_timer && --ic->ic_inact_timer == 0) ieee80211_timeout_nodes(ic); |