ath10k: fix per-vif queue locking
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 9 Jul 2015 11:08:38 +0000 (13:08 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 11 Jul 2015 16:06:26 +0000 (19:06 +0300)
commitacd0b27bb13a09dd0a56d4562d3eb4137a7318b2
tree1dcd5aa361a4fc2e5435b8432bcda0065ae1f38d
parentf23e587e55f3607741e29a789efa61ea999f13f8
ath10k: fix per-vif queue locking

Whenever any vdev was supposed to be paused all Tx
queues were stopped (except offchannel) instead of
only these associated with the given vdev.

This caused subtle issues with
multi-channel/multi-vif scenarios, e.g.
authentication of station vif could sometimes fail
depending on fw tx pause request timing.

Fixes: b4aa539dd8f2 ("ath10k: implement tx pause wmi event")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/mac.h
drivers/net/wireless/ath/ath10k/wmi-tlv.c