Commit ef35b7a8 authored by Fabio Aiuto's avatar Fabio Aiuto Committed by Greg Kroah-Hartman

staging: rtl8723bs: fix camel case name in macro IsSupportedTxCCK

fix camel case name in macro IsSupportedTxCCK
Signed-off-by: default avatarFabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/65aec26a3c25f1e756e33bf5f7f5af0cd3b105df.1626533647.git.fabioaiuto83@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a13d275b
...@@ -402,7 +402,7 @@ void update_bmc_sta(struct adapter *padapter) ...@@ -402,7 +402,7 @@ void update_bmc_sta(struct adapter *padapter)
supportRateNum, supportRateNum,
pcur_network->Configuration.DSConfig pcur_network->Configuration.DSConfig
); );
if (IsSupportedTxCCK(network_type)) { if (is_supported_tx_cck(network_type)) {
network_type = WIRELESS_11B; network_type = WIRELESS_11B;
} else if (network_type == WIRELESS_INVALID) { /* error handling */ } else if (network_type == WIRELESS_INVALID) { /* error handling */
......
...@@ -1661,7 +1661,7 @@ void update_wireless_mode(struct adapter *padapter) ...@@ -1661,7 +1661,7 @@ void update_wireless_mode(struct adapter *padapter)
void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode) void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode)
{ {
if (IsSupportedTxCCK(wireless_mode)) { if (is_supported_tx_cck(wireless_mode)) {
/* Only B, B/G, and B/G/N AP could use CCK rate */ /* Only B, B/G, and B/G/N AP could use CCK rate */
memcpy(psta->bssrateset, rtw_basic_rate_cck, 4); memcpy(psta->bssrateset, rtw_basic_rate_cck, 4);
psta->bssratelen = 4; psta->bssratelen = 4;
......
...@@ -158,7 +158,7 @@ enum network_type { ...@@ -158,7 +158,7 @@ enum network_type {
#define is_supported_24g(net_type) ((net_type) & SUPPORTED_24G_NETTYPE_MSK ? true : false) #define is_supported_24g(net_type) ((net_type) & SUPPORTED_24G_NETTYPE_MSK ? true : false)
#define IsSupportedTxCCK(NetType) (((NetType) & (WIRELESS_11B)) ? true : false) #define is_supported_tx_cck(NetType) (((NetType) & (WIRELESS_11B)) ? true : false)
#define is_supported_ht(net_type) (((net_type) & (WIRELESS_11_24N)) ? true : false) #define is_supported_ht(net_type) (((net_type) & (WIRELESS_11_24N)) ? true : false)
struct ieee_param { struct ieee_param {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment