mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
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
This commit is contained in:
parent
8a4a44b5aa
commit
f219c9d3d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152968
@ -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 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user