ath5k: honor the RTS/CTS bits
authorBob Copeland <me@bobcopeland.com>
Thu, 22 Jan 2009 13:44:21 +0000 (08:44 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:13 +0000 (16:01 -0500)
commit07c1e852514e862e246b9f2962ce8fc0d7ac8ed1
treeae8f097e73213a6c5a072978dda13a37d8028708
parent8902ff4e5666c04ca5829c9fd7fc28d73e81ee90
ath5k: honor the RTS/CTS bits

The ath5k driver didn't use set_rts_threshold or use_cts_prot, and also
didn't check the IEEE80211_TX_RC_USE_{RTS_CTS,CTS_PROTECT} RC flags.
Tell the hardware about these so RTS/CTS will work, and so the device
will work better in mixed b/g environments.

Changes-licensed-under: 3-Clause-BSD

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c