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)
commit4e751843d406a4d0471c207872b9e24957de8357
tree0f3aec11337d37d45215a8a498bd5ce6b6edc507
parent43f7853180ed522944b3b1d4979cdb9f2b103ca3
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