]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: replenish htc tx credits always
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 1 Apr 2015 19:53:19 +0000 (22:53 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 9 Apr 2015 11:58:16 +0000 (14:58 +0300)
commit5d5c8ec9e46c29f284316615ea8dea179bde4be6
tree8208c2774f8e2b9c6fbf236679d3d2ee454733ae
parentf42f8eb27e5077cb1881da8f006bff19a8924a9f
ath10k: replenish htc tx credits always

There's always at most 2 credits and it makes
little sense to set the
ATH10K_HTC_FLAG_NEED_CREDIT_UPDATE flag
conditionally.

This seems to fix some random issues with tx
credit starvation on WLAN.RM.2.0-00073 I've been
seeing. Note: this isn't related to wmi mgmt tx.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htc.c