summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-02-20 13:55:46 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-02-21 21:39:59 +0100
commit430df7980ef1a522ad2fd1d06e1b6655f2d9320f (patch)
treec6551b76448d4d1c68cb1bfc149c1a8ef0f3a681 /init
parentrt2x00: Fix rt2800 txpower setting to correct value (diff)
downloadlinux-430df7980ef1a522ad2fd1d06e1b6655f2d9320f.tar.xz
linux-430df7980ef1a522ad2fd1d06e1b6655f2d9320f.zip
rt2x00: Minor optimization for devices with RTS/CTS offload
Only devices that don't have RTS/CTS offload need to check for IEEE80211_TX_RC_USE_RTS_CTS and IEEE80211_TX_RC_USE_CTS_PROTECT. By swapping both conditions we keep the same number of needed conditionals for devices without RTS/CTS offload but save one conditional on devices with RTS/CTS offload. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions