]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: wake up queue upon vif creation
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 7 Aug 2015 07:08:21 +0000 (09:08 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 17 Aug 2015 13:40:25 +0000 (16:40 +0300)
commit48c7d1b3c75f19e93b6d6e6a5568fdc0667009cf
treed54f72510a1012157970e8034e7f9ba9a8941ad2
parent392dae844fd6100570cd8229bbc4611c6be55907
ath10k: wake up queue upon vif creation

Vif's vdev_id is used as queue number. However due
to the tx pausing design in ath10k it was possible
for a new interface to be created with its tx
queue stopped (via ieee80211_stop_queues). This
could in turn leave the interface inoperable until
ath10k_mac_tx_unlock() was called.

This problem only affected multi-vif scenarios when
new interfaces were created some time later after
other interfaces have been running for some time
and had Tx queue full at some point prior.

Possible manifestation of the bug was
authentication timeout for a client vif.

Fixes: 0d384dfaf06b ("ath10k: rework tx queue locking")
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