mac80211: fix ADDBA declined after suspend with wowlan
authorEyal Shapira <eyal@wizery.com>
Tue, 29 May 2012 09:00:22 +0000 (02:00 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 May 2012 17:45:24 +0000 (13:45 -0400)
commit7b21aea04d084916ac4e0e8852dcc9cd60ec0d1d
tree0f01bb40607f9a48ac39e7e2a4eb4eda4ec48fcb
parent4161923a2410e8d0dd04ebbf93dde46552c07492
mac80211: fix ADDBA declined after suspend with wowlan

WLAN_STA_BLOCK_BA is set while suspending but doesn't get cleared
when resuming in case of wowlan. This causes further ADDBA requests
received to be rejected. Fix it by clearing it in the wowlan path
as well.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c