diff options
author | sam <sam@FreeBSD.org> | 2005-11-30 19:54:41 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-11-30 19:54:41 +0000 |
commit | ef3f2fcd849beabec9e9e9cbb5874f477998babc (patch) | |
tree | 41c2c72c3790c34dcea53cc544c79c5e9ceb02ff /sys | |
parent | 29543921eae6a40180f2f784021ed1b42d328e2a (diff) | |
download | FreeBSD-src-ef3f2fcd849beabec9e9e9cbb5874f477998babc.zip FreeBSD-src-ef3f2fcd849beabec9e9e9cbb5874f477998babc.tar.gz |
fix dynamic changes in short slottime for 11g sta mode: set the
slot time based on the rcvd capabilities, not the existing ones
Obtained from: atheros
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 74b147e..02232b6 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1923,7 +1923,7 @@ ieee80211_recv_mgmt(struct ieee80211com *ic, struct mbuf *m0, */ ieee80211_set_shortslottime(ic, ic->ic_curmode == IEEE80211_MODE_11A || - (ni->ni_capinfo & IEEE80211_CAPINFO_SHORT_SLOTTIME)); + (scan.capinfo & IEEE80211_CAPINFO_SHORT_SLOTTIME)); ni->ni_capinfo = scan.capinfo; /* XXX statistic */ } |