staging: rtl8192e: Rename function IsHTHalfNmodeAPs to is_ht_half_nmode_a_ps
PATCH 1/1 staging: rtl8192e: Rename function IsHTHalfNmodeAPs to is_ht_half_nmode_a_ps
Rename function IsHTHalfNmodeAPs to is_ht_half_nmode_a_ps in order to fix checkpatch warning: Avoid CamelCase
--- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl819x_HTProc.c +1 -1
@@ -139,7 +139,7 @@ u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate)return MCS_DATA_RATE [is40MHz][isShortGI][nDataRate &0xf ]; } -bool IsHTHalfNmodeAPs (struct rtllib_device *ieee) +bool is_ht_half_nmode_a_ps (struct rtllib_device *ieee) {bool retValue = false;struct rtllib_network *net = &ieee->current_network;
drivers/staging/rtl8192e/rtllib.h +1 -1
@@ -2003,7 +2003,7 @@ extern u8 MCS_FILTER_ALL[];extern u16 MCS_DATA_RATE [2 ][2 ][77 ];u8 HTCCheck (struct rtllib_device *ieee,u8 *pFrame);void HTResetIOTSetting (struct rt_hi_throughput *ht_info); -bool IsHTHalfNmodeAPs (struct rtllib_device *ieee); +bool is_ht_half_nmode_a_ps (struct rtllib_device *ieee);u16 TxCountToDataRate (struct rtllib_device *ieee,u8 nDataRate);int rtllib_rx_ADDBAReq (struct rtllib_device *ieee,struct sk_buff *skb);int rtllib_rx_ADDBARsp (struct rtllib_device *ieee,struct sk_buff *skb);
drivers/staging/rtl8192e/rtllib_softmac.c +1 -1
@@ -2224,7 +2224,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) ieee->softmac_stats.rx_auth_rs_ok++;if (!(ieee->ht_info->iot_action &HT_IOT_ACT_PURE_N_MODE )) {if (!ieee->GetNmodeSupportBySecCfg (ieee->dev)) { -if (IsHTHalfNmodeAPs (ieee)) { +if (is_ht_half_nmode_a_ps (ieee)) { bSupportNmode = true; bHalfSupportNmode = true; }else {
Signature · 1 line
2.39.2
Quoted 3 lines · Tree Davies
Rename function IsHTHalfNmodeAPs to
is_ht_half_nmode_a_psin order to fix checkpatch warning: Avoid CamelCase
Hi Tree
If you look where the function is used you will see that it is used in rtllib_rx_auth_resp which is used in:rtllib_rx_auth which is used in:rtllib_rx_frame_softmac which is used in:rtllib_rx_frame_mgmt which is used in:rtllib_rx_InfraAdhoc
This has for me to do with access points so please do not cut the ap apart.
Thanks
Bye Philipp
Quoted 14 lines · Philipp Hortmann
Quoted 3 lines · Tree Davies
Rename function IsHTHalfNmodeAPs to
is_ht_half_nmode_a_psin order to fix checkpatch warning: Avoid CamelCaseHi Tree
If you look where the function is used you will see that it is used in
rtllib_rx_auth_respwhich is used in:rtllib_rx_authwhich is used in:rtllib_rx_frame_softmacwhich is used in:rtllib_rx_frame_mgmtwhich is used in:rtllib_rx_InfraAdhoc
Quoted 8 lines
This has for me to do with access points so please do not cut the ap apart.
Thanks
Bye Philipp
Thanks Philip,
I will send a v2
Cheers!
Tree