]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix PS vs. scan race
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 22 Apr 2009 21:02:51 +0000 (23:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:14:29 +0000 (15:14 -0400)
commit8566a6a1035bf0c4fee714c26bbafb77a2c76696
tree0d6215a5128a72e82f76a51b112d99a0a2bd7bd5
parent377b7610cf512b12076a3055cce4d401012feade
mac80211: fix PS vs. scan race

When somebody changes the PS parameters while scanning
is in progress, we enable PS -- during the scan. This
is clearly not desirable, and we can just abort enabling
PS when scanning since when the scan finishes it will
be taken care of.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c