From: Helmut Schaa Date: Sun, 20 Feb 2011 12:55:46 +0000 (+0100) Subject: rt2x00: Minor optimization for devices with RTS/CTS offload X-Git-Tag: v2.6.39-rc1~468^2~238^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=430df7980ef1a522ad2fd1d06e1b6655f2d9320f;p=pandora-kernel.git 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 Acked-by: Gertjan van Wingerde Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed