Staging: rtl8192e: Rename variable AdvCoding
authorTree Davies <tdavies@darkphysics.net>
Sun, 28 Apr 2024 23:00:54 +0000 (16:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 May 2024 16:41:00 +0000 (18:41 +0200)
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>
drivers/staging/rtl8192e/rtl819x_HT.h
drivers/staging/rtl8192e/rtl819x_HTProc.c

index 938be9c27e0bf6a123848e37f372b6545b101ad0..fb3c0dba9d169579521f9e923e5798293480a2ef 100644 (file)
@@ -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;
index b79ea0b42e444e6fd838799f479707a67fdd97cd..6eb708ba80ae89be3afd48bbeb1181bbb71d37c8 100644 (file)
@@ -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