rtlwifi: Combine instances of RTL_HAL_IS_CCK_RATE macros.
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 19 Sep 2011 19:34:10 +0000 (14:34 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Sep 2011 18:43:50 +0000 (14:43 -0400)
commitda3ba88a9996cd64c6768bed5727e02da81e2c8d
treead6b874767b6aa89c6c1e12df63d24026c6fa296
parent87b6d09225506236c58bf407f9b750591a3b3a7b
rtlwifi: Combine instances of RTL_HAL_IS_CCK_RATE macros.

Three drivers, rtl8192ce, rtl8192cu and rtl8192de, use the same macro
to check if a particular rate is in the CCK set. This common code is
relocated to a common header file. A distinct macro used by rtl8192se
with the same name is renamed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192ce/trx.h
drivers/net/wireless/rtlwifi/rtl8192cu/mac.h
drivers/net/wireless/rtlwifi/rtl8192de/trx.h
drivers/net/wireless/rtlwifi/rtl8192se/def.h
drivers/net/wireless/rtlwifi/rtl8192se/trx.c
drivers/net/wireless/rtlwifi/wifi.h