mac80211: fix ADDBA declined after suspend with wowlan
authorEyal Shapira <eyal@wizery.com>
Tue, 29 May 2012 09:00:22 +0000 (02:00 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 10 Jun 2012 13:41:44 +0000 (14:41 +0100)
commita3a704a9ab01cf1f65df997868ddeb611e244dfb
tree34fb31c072ea5715478b9c36393b89ab6a06dd35
parent2bb9966c233293c9959f4d77a3c994182604472e
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: Ben Hutchings <ben@decadent.org.uk>
net/mac80211/util.c