1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

Staging: rtl8192e: Rename variable AdvCoding

Rename variable AdvCoding to adv_coding
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240428230106.6548-7-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tree Davies 2024-04-28 16:00:54 -07:00 committed by Greg Kroah-Hartman
parent b5c085767b
commit 571acd1719
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ enum ht_extchnl_offset {
}; };
struct ht_capab_ele { struct ht_capab_ele {
u8 AdvCoding:1; u8 adv_coding:1;
u8 chl_width:1; u8 chl_width:1;
u8 MimoPwrSave:2; u8 MimoPwrSave:2;
u8 GreenField:1; u8 GreenField:1;

View file

@ -251,7 +251,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
*len = 26 + 2; *len = 26 + 2;
} }
cap_ele->AdvCoding = 0; cap_ele->adv_coding = 0;
if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev)) if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev))
cap_ele->chl_width = 0; cap_ele->chl_width = 0;
else else