diff options
| author | Helmut Schaa <[email protected]> | 2011-02-20 13:55:46 +0100 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-02-21 15:39:59 -0500 |
| commit | 430df7980ef1a522ad2fd1d06e1b6655f2d9320f (patch) | |
| tree | c6551b76448d4d1c68cb1bfc149c1a8ef0f3a681 /tools/perf/scripts/python/netdev-times.py | |
| parent | e90c54b2358559bd305ff08096e077d2a7f02bf3 (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 <[email protected]>
Acked-by: Gertjan van Wingerde <[email protected]>
Signed-off-by: Ivo van Doorn <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions