mac80211: fix ADDBA declined after suspend with wowlan
commit6ec1d66c8d22bc76ebf37860a87ca399790beb5d
authorEyal Shapira <eyal@wizery.com>
Tue, 29 May 2012 09:00:22 +0000 (29 02:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:32:59 +0000 (10 00:32 +0900)
tree4e0cdf414e2ff2d559b3c7e8b1308e3c9f1dfbda
parent65ec0e1ca3d1ff89f36db4cd19441bf001fb7d8a
mac80211: fix ADDBA declined after suspend with wowlan

commit 7b21aea04d084916ac4e0e8852dcc9cd60ec0d1d upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/util.c