]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/mac80211/mlme.c
mac80211: disable powersave for broken APs
authorJohannes Berg <johannes.berg@intel.com>
Fri, 28 Oct 2011 09:59:47 +0000 (11:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Nov 2011 19:23:13 +0000 (15:23 -0400)
commit05cb91085760ca378f28fc274fbf77fc4fd9886c
tree84beafb48cf82b1eb8a6c39a849287442e687f23
parent8a39ef8ba0fa0410d71db8e981e887fe4fdeca88
mac80211: disable powersave for broken APs

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.

Cc: stable@vger.kernel.org
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>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c