]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath5k: fix RTS/CTS by using proper rate flags
authorBob Copeland <me@bobcopeland.com>
Thu, 19 Nov 2015 15:04:48 +0000 (10:04 -0500)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 8 Dec 2015 14:50:24 +0000 (16:50 +0200)
commit410d13a6b057f69c58b8bf8ccca8e9cbf57ea710
tree82456902a1aaf9686a51158c71da97bf4ce245d1
parent79fd1709b64991c86e5ffef0689b4635874e6504
ath5k: fix RTS/CTS by using proper rate flags

The rates in the tx control rateset do not have the protection
flags applied, so RTS/CTS would never get enabled if requested.

Fix by using the rate flags in the rates returned by
ieee80211_get_tx_rates().

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath5k/base.c