ath10k: simplify HTC credits calculation
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 13 Sep 2013 12:16:52 +0000 (14:16 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 16 Sep 2013 16:47:45 +0000 (19:47 +0300)
commiteeed3765f327755b499c81eaf453e9d52a27c01c
tree651fb5cb7d9c3f41c641b7282ccf512537e04ac2
parent3699ddc55fc1d1689a411ada9d74e584f7987f46
ath10k: simplify HTC credits calculation

Credit calculation was overly complex
unnecessarily. Now skb dequeing is more unified.

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