diff options
author | sam <sam@FreeBSD.org> | 2006-01-23 20:57:30 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-01-23 20:57:30 +0000 |
commit | 311f7976bc51e2fa5c6ee9c32f553da839e09f70 (patch) | |
tree | 4dba62067315e1f9d3a0ab7a0f0a9c0481a92562 /sys/net80211/ieee80211.c | |
parent | 4bd286d8706198e8fdf78e2070723feec2e0f391 (diff) | |
download | FreeBSD-src-311f7976bc51e2fa5c6ee9c32f553da839e09f70.zip FreeBSD-src-311f7976bc51e2fa5c6ee9c32f553da839e09f70.tar.gz |
switch beacon miss threshold from a time to the number of beacon
frames; the time value was implicitly based on the beacon interval
but never being updated so wrong when the negotiated beacon interval
was not 100 TU
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 3660696..29c2759 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -190,7 +190,7 @@ ieee80211_ifattach(struct ieee80211com *ic) if (ic->ic_bintval == 0) ic->ic_bintval = IEEE80211_BINTVAL_DEFAULT; - ic->ic_bmisstimeout = 7*ic->ic_bintval; /* default 7 beacons */ + ic->ic_bmissthreshold = 7; /* default 7 beacons */ ic->ic_dtim_period = IEEE80211_DTIM_DEFAULT; IEEE80211_BEACON_LOCK_INIT(ic, "beacon"); |