]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92c8ebf17c0bcf0e6edd67e6cfccad944fcd95ce
tree6a4ba0dcc059abeabef2f4b3a1a0fce200ffb81b
parent42cbb481d146841ff4bc451c5855ece9a8c6bd0f
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