]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mac80211: disable powersave for broken APs
authorJohannes Berg <johannes.berg@intel.com>
Fri, 28 Oct 2011 09:59:47 +0000 (11:59 +0200)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:16 +0000 (11:18 -0800)
commit79045ecfdceeeeed7b21501a3f3211a7cd31e526
tree6e392030b6754cc98c12afa266884369bca86db5
parent111342c4f9fd873c01e5da7d1cd828934adc2951
mac80211: disable powersave for broken APs

commit 05cb91085760ca378f28fc274fbf77fc4fd9886c upstream.

Only AID values 1-2007 are valid, but some APs have been
found to send random bogus values, in the reported case an
AP that was sending the AID field value 0xffff, an AID of
0x3fff (16383).

There isn't much we can do but disable powersave since
there's no way it can work properly in this case.

Reported-by: Bill C Riemers <briemers@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c