]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: disable PS while probing AP
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 10 Jun 2009 13:16:52 +0000 (15:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Jun 2009 17:28:41 +0000 (13:28 -0400)
commit216fafde06cdd3f7e120034180fca1c518d5848a
tree0f3aec11337d37d45215a8a498bd5ce6b6edc507
parentdd4e44fd95f373cc32a7871cae331fd1ccc717a8
mac80211: disable PS while probing AP

When associated, but probing the AP because we detected
beacon loss, we need to disable powersave to be able to
receive the probe response. Change the code to do that by
checking whether we're trying to probe when determining
the possibility of going into PS, and recalculate the PS
ability at the necessary spots.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c