Skip to content

Commit 571acd1

Browse files
treedaviesgregkh
authored andcommitted
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>
1 parent b5c0857 commit 571acd1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/staging/rtl8192e/rtl819x_HT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ enum ht_extchnl_offset {
2424
};
2525

2626
struct ht_capab_ele {
27-
u8 AdvCoding:1;
27+
u8 adv_coding:1;
2828
u8 chl_width:1;
2929
u8 MimoPwrSave:2;
3030
u8 GreenField:1;

drivers/staging/rtl8192e/rtl819x_HTProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap,
251251
*len = 26 + 2;
252252
}
253253

254-
cap_ele->AdvCoding = 0;
254+
cap_ele->adv_coding = 0;
255255
if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev))
256256
cap_ele->chl_width = 0;
257257
else

0 commit comments

Comments
 (0)