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

Staging: rtl8192e: Rename variable bForcedBgMode

Rename variable bForcedBgMode to forced_bg_mode to fix checkpatch
warning Avoid CamelCase.
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20240126223106.986093-19-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34eb6bea
...@@ -1193,7 +1193,7 @@ struct rtllib_device { ...@@ -1193,7 +1193,7 @@ struct rtllib_device {
u8 *assocreq_ies, *assocresp_ies; u8 *assocreq_ies, *assocresp_ies;
size_t assocreq_ies_len, assocresp_ies_len; size_t assocreq_ies_len, assocresp_ies_len;
bool bForcedBgMode; bool forced_bg_mode;
u8 hwsec_active; u8 hwsec_active;
bool is_roaming; bool is_roaming;
......
...@@ -721,7 +721,7 @@ rtllib_association_req(struct rtllib_network *beacon, ...@@ -721,7 +721,7 @@ rtllib_association_req(struct rtllib_network *beacon,
if ((ieee->rtllib_ap_sec_type && if ((ieee->rtllib_ap_sec_type &&
(ieee->rtllib_ap_sec_type(ieee) & SEC_ALG_TKIP)) || (ieee->rtllib_ap_sec_type(ieee) & SEC_ALG_TKIP)) ||
ieee->bForcedBgMode) { ieee->forced_bg_mode) {
ieee->ht_info->enable_ht = 0; ieee->ht_info->enable_ht = 0;
ieee->mode = WIRELESS_MODE_G; ieee->mode = WIRELESS_MODE_G;
} }
......
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