Commit c7c4440d authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman

Staging: rtl8192e: Rename variable bSupportNmode

Rename variable bSupportNmode to support_nmode to fix checkpatch
warning Avoid CamelCase.
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20240106055556.430948-8-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eba9c984
...@@ -1648,7 +1648,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) ...@@ -1648,7 +1648,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb)
int errcode; int errcode;
u8 *challenge; u8 *challenge;
int chlen = 0; int chlen = 0;
bool bSupportNmode = true, bHalfSupportNmode = false; bool support_nmode = true, bHalfSupportNmode = false;
errcode = auth_parse(ieee->dev, skb, &challenge, &chlen); errcode = auth_parse(ieee->dev, skb, &challenge, &chlen);
...@@ -1666,16 +1666,16 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) ...@@ -1666,16 +1666,16 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb)
if (!(ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE)) { if (!(ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE)) {
if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) { if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) {
if (is_ht_half_nmode_aps(ieee)) { if (is_ht_half_nmode_aps(ieee)) {
bSupportNmode = true; support_nmode = true;
bHalfSupportNmode = true; bHalfSupportNmode = true;
} else { } else {
bSupportNmode = false; support_nmode = false;
bHalfSupportNmode = false; bHalfSupportNmode = false;
} }
} }
} }
/* Dummy wirless mode setting to avoid encryption issue */ /* Dummy wirless mode setting to avoid encryption issue */
if (bSupportNmode) { if (support_nmode) {
ieee->set_wireless_mode(ieee->dev, ieee->set_wireless_mode(ieee->dev,
ieee->current_network.mode); ieee->current_network.mode);
} else { } else {
......
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