aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/smc911x.c
diff options
context:
space:
mode:
authorHelmut Schaa2011-02-20 13:55:46 +0100
committerJohn W. Linville2011-02-21 15:39:59 -0500
commit430df7980ef1a522ad2fd1d06e1b6655f2d9320f (patch)
treec6551b76448d4d1c68cb1bfc149c1a8ef0f3a681 /drivers/net/smc911x.c
parente90c54b2358559bd305ff08096e077d2a7f02bf3 (diff)
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 'drivers/net/smc911x.c')
0 files changed, 0 insertions, 0 deletions