ath10k: htc: simplified credit distribution
authorErik Stromdahl <erik.stromdahl@gmail.com>
Wed, 11 Jan 2017 14:32:10 +0000 (16:32 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Jan 2017 10:51:29 +0000 (12:51 +0200)
commitd48b62ceeea2c229c637efda0c1a846dd33cf26a
tree1f77f66b8aedf4d90230cdc7a853737df44941b3
parent7bc7441e4da3868042d01eed8a1f61625d35a356
ath10k: htc: simplified credit distribution

Simplified transmit credit distribution code somewhat.
Since the WMI control service will get assigned all credits
there is no need for having a credit_allocation array in
struct ath10k_htc.

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htc.c
drivers/net/wireless/ath/ath10k/htc.h