staging: rtl8723bs: fix camel case name in macro IsLegacyOnly()
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 17 Jul 2021 14:56:45 +0000 (16:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 08:21:59 +0000 (10:21 +0200)
fix camel case name in macro IsLegacyOnly()

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/52656190cefed1b0f9a2dd6dcb080adf2ca0a89b.1626533647.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_btcoex.c
drivers/staging/rtl8723bs/include/ieee80211.h

index 3b05738..8ec8f28 100644 (file)
@@ -401,7 +401,7 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
                break;
 
        case BTC_GET_U4_WIFI_BW:
-               if (IsLegacyOnly(mlmeext->cur_wireless_mode))
+               if (is_legacy_only(mlmeext->cur_wireless_mode))
                        *pU4Tmp = BTC_WIFI_BW_LEGACY;
                else if (pHalData->CurrentChannelBW == CHANNEL_WIDTH_20)
                        *pU4Tmp = BTC_WIFI_BW_HT20;
index b2c1a7d..ea1800d 100644 (file)
@@ -154,7 +154,7 @@ enum network_type {
 
 #define SUPPORTED_24G_NETTYPE_MSK (WIRELESS_11B | WIRELESS_11G | WIRELESS_11_24N)
 
-#define IsLegacyOnly(NetType)  ((NetType) == ((NetType) & (WIRELESS_11BG)))
+#define is_legacy_only(NetType)  ((NetType) == ((NetType) & (WIRELESS_11BG)))
 
 #define IsSupported24G(NetType) ((NetType) & SUPPORTED_24G_NETTYPE_MSK ? true : false)