diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-04-28 16:00:54 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-04 18:41:00 +0200 |
commit | 571acd1719c19d971b51a2108f934dd53c6ea4ef (patch) | |
tree | c4b68f874d65f2400442a129956f4fac8bbfb3d7 /drivers/staging | |
parent | b5c085767bc6d66fdee9feb4ecff3c2170f34001 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HT.h | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index 938be9c27e0b..fb3c0dba9d16 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -24,7 +24,7 @@ enum ht_extchnl_offset { }; struct ht_capab_ele { - u8 AdvCoding:1; + u8 adv_coding:1; u8 chl_width:1; u8 MimoPwrSave:2; u8 GreenField:1; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index b79ea0b42e44..6eb708ba80ae 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -251,7 +251,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, *len = 26 + 2; } - cap_ele->AdvCoding = 0; + cap_ele->adv_coding = 0; if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev)) cap_ele->chl_width = 0; else |