ath9k: Fix offchannel queuing
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 24 Sep 2014 06:18:16 +0000 (11:48 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Sep 2014 21:11:08 +0000 (17:11 -0400)
commit8d9e464a27e4afca4782a632f4bb18ea5e1eec5d
treebcda6e2198e152f4d27a7bdb146600cfec269941
parentc13a6a0535ec0338e804958e5353c8ff772838d2
ath9k: Fix offchannel queuing

Clearing IEEE80211_TX_CTL_PS_RESPONSE in a frame
that is not in the current context doesn't seem right.
Instead make sure that we don't add such frames
to the UAPSD queue by using a local variable.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c