mt76: only stop tx queues on offchannel, not during the entire scan
authorFelix Fietkau <nbd@nbd.name>
Sun, 20 May 2018 05:43:45 +0000 (07:43 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 23 May 2018 07:58:09 +0000 (10:58 +0300)
commit89bc67e3a93ae6199ae02c9e4fe41833da9ba368
tree16d8b7dd92d2728c9b29d95371f15934c3b027e0
parent66a77cbe63eb326513632cc88e1260e877be8123
mt76: only stop tx queues on offchannel, not during the entire scan

During scans, mac80211 frequently switches back to the home channel to
minimize interruption of ongoing traffic. Keep regular tx queues active
during that time.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mac80211.c
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/tx.c