aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/wme.c
diff options
context:
space:
mode:
authorGravatar Luciano Coelho <coelho@ti.com> 2012-06-20 17:23:24 +0300
committerGravatar Johannes Berg <johannes.berg@intel.com> 2012-06-20 17:32:10 +0200
commit50ae34a254ca5192e46503884ed0edd60795fe87 (patch)
treeac65e6654a3812b549495e77166052d87a0cc7b1 /net/mac80211/wme.c
parentcfg80211: fix regression in multi-vif AP start (diff)
downloadlinux-50ae34a254ca5192e46503884ed0edd60795fe87.tar.gz
linux-50ae34a254ca5192e46503884ed0edd60795fe87.tar.bz2
linux-50ae34a254ca5192e46503884ed0edd60795fe87.zip
mac80211: use the correct capability info in ieee80211_set_associated()
If an AP is beaconing with different capabilities than the one we get in the associate response, we were still using the capabilities received in the beacons. One example is when the AP is beaconing with the short slot bit set to zero and then we try to connect to it with long slot. In this case, we would keep using long slot until the next beacon was received. Fix this by using the correct capability value when calling ieee80211_handle_bss_capability(). We were using cbss->capability, but we should use the bss_conf->assoc_capability instead. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/wme.c')
0 files changed, 0 insertions, 0 deletions