ath10k: fix pull-push tx threshold handling
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 17 Mar 2016 09:51:05 +0000 (10:51 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 21 Mar 2016 16:29:17 +0000 (18:29 +0200)
commit750eeed89cf3c466df302e4707491b015531e26c
tree33141fb0f44940559e038df702c129efc5fbc269
parent9d71d47eed20f34620e54e29bcc90f959d5873b8
ath10k: fix pull-push tx threshold handling

This prevents tx hangs or hiccups if pull-push
supporting firmware defines per-txq thresholds or
switches modes dynamically.

Fixes: 299468782d94 ("ath10k: implement wake_tx_queue")
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