mt76: stop tx queues from the driver callback instead of common code
authorFelix Fietkau <nbd@nbd.name>
Tue, 3 Apr 2018 19:52:48 +0000 (21:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 17:29:55 +0000 (20:29 +0300)
commit11b2a25f02b700027aa89ff27c807ec756df01f6
tree32dd3a12a4650748ce30f21138d40f4372c5acf7
parent00dfae9a0ab7594b77d39725ebff677900695d70
mt76: stop tx queues from the driver callback instead of common code

Allows the driver to control whether to send a BlockAckReq after waking
up. MT76x2 needs this set to true, for MT7603 (to be submitted later)
it needs to be false.

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/mt76x2_main.c