mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 21:45:08 -04:00
Staging: rtl8192e: Rename variable bForcedBgMode
Rename variable bForcedBgMode to forced_bg_mode to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20240126223106.986093-19-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
34eb6bea1f
commit
b4a89adc2f
@@ -1193,7 +1193,7 @@ struct rtllib_device {
|
||||
u8 *assocreq_ies, *assocresp_ies;
|
||||
size_t assocreq_ies_len, assocresp_ies_len;
|
||||
|
||||
bool bForcedBgMode;
|
||||
bool forced_bg_mode;
|
||||
|
||||
u8 hwsec_active;
|
||||
bool is_roaming;
|
||||
|
||||
@@ -721,7 +721,7 @@ rtllib_association_req(struct rtllib_network *beacon,
|
||||
|
||||
if ((ieee->rtllib_ap_sec_type &&
|
||||
(ieee->rtllib_ap_sec_type(ieee) & SEC_ALG_TKIP)) ||
|
||||
ieee->bForcedBgMode) {
|
||||
ieee->forced_bg_mode) {
|
||||
ieee->ht_info->enable_ht = 0;
|
||||
ieee->mode = WIRELESS_MODE_G;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user