diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-04-29 01:00:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-04 18:41:00 +0200 |
commit | 3b6f3b7e084ad6a7f27b737668723b35b3adf9fb (patch) | |
tree | e67990897812ec19c4ebd24755ed9cd9609b26de /drivers/staging | |
parent | Staging: rtl8192e: Rename variable AdvCoding (diff) | |
download | linux-3b6f3b7e084ad6a7f27b737668723b35b3adf9fb.tar.xz linux-3b6f3b7e084ad6a7f27b737668723b35b3adf9fb.zip |
Staging: rtl8192e: Rename variable MimoPwrSave
Rename variable MimoPwrSave to mimo_pwr_save
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-8-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 fb3c0dba9d16..25cdfdf85991 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -26,7 +26,7 @@ enum ht_extchnl_offset { struct ht_capab_ele { u8 adv_coding:1; u8 chl_width:1; - u8 MimoPwrSave:2; + u8 mimo_pwr_save:2; u8 GreenField:1; u8 ShortGI20Mhz:1; u8 ShortGI40Mhz:1; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 6eb708ba80ae..73d1e19a59ba 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -257,7 +257,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, else cap_ele->chl_width = 1; - cap_ele->MimoPwrSave = 3; + cap_ele->mimo_pwr_save = 3; cap_ele->GreenField = 0; cap_ele->ShortGI20Mhz = 1; cap_ele->ShortGI40Mhz = 1; |