ath10k: use num_pending_tx instead of msdu id bitmap
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 18 Sep 2013 12:43:18 +0000 (14:43 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 20 Sep 2013 05:18:09 +0000 (08:18 +0300)
commit0945baf7d4245b79e01c2a790186c41fb4b27dd2
tree6a4ba0dcc059abeabef2f4b3a1a0fce200ffb81b
parent1073ab2e9b0d45f318052a3f3690405fc04eda75
ath10k: use num_pending_tx instead of msdu id bitmap

It's more efficient to simply check num_pending_tx
value instead of traversing whole bitmap of
msdu ids.

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
drivers/net/wireless/ath/ath10k/txrx.c