]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
carl9170: stop stale uplink BA sessions
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 29 Oct 2010 21:41:16 +0000 (23:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:33 +0000 (13:25 -0500)
commit2a6cef513fab525399e484edc9bfb39b6d462f76
tree3397cf07534825de557e53630eafda5ebc2193b8
parente4a668c59080f862af3ecc28b359533027cbe434
carl9170: stop stale uplink BA sessions

This patch fixes a possible lengthy stall if the device
is operating as an experimental 11n AP and an STA
[during heavy txrx action] suddenly signalized to go
off-channel (old NetworkManager), or (sleep - which is
unlikely, because then it wouldn't be *active* at all!?).

Because the driver has to manage the BA Window, the
sudden PSM transition can leave active uplink BA
sessions to the STA in a bad state and a proper
cleanup is needed.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/tx.c