summaryrefslogtreecommitdiff
path: root/net/llc
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-10-01 17:02:31 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-10-05 21:35:24 +0400
commitd8ec44335c974cc8bf67ce70c63071d4e0702509 (patch)
tree934e306ecb7c303c27b793487dfbd7985097fab3 /net/llc
parentbc86863de63e6ae7ec6f9f524604631608c6cb02 (diff)
downloadlinux-d8ec44335c974cc8bf67ce70c63071d4e0702509.tar.xz
mac80211: Add validity check for beacon_crc value
On association to an AP, after receiving beacons, the beacon_crc value is set. The beacon_crc value is not reset in disassociation, but the BSS data may be expired at a later point. When associating again, it's possible that a beacon for the AP is not received, resulting in the beacon_ies to remain NULL. After association, further beacons will not update the beacon data, as the crc value of the beacon has not changed, and the beacon_crc still holds a value matching the beacon. The beacon_ies will remain forever null. One of the results of this is that WLAN power save cannot be entered, the STA will remain foreven in active mode. Fix this by adding a validation flag for the beacon_crc, which is cleared on association. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions