staging: rtl8192e: rename variable HTSetConnectBwModeCallback
authorGary Rookard <garyrookard@fastmail.org>
Thu, 21 Dec 2023 18:34:12 +0000 (13:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 13:09:14 +0000 (14:09 +0100)
Coding style issue, checkpatch Avoid CamelCase,
rename it. HTSetConnectBwModeCallback -> ht_set_connect_bw_mode_callback

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231221183413.8349-5-garyrookard@fastmail.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HTProc.c

index 5698b48fdcc97474f0b16847797dc7488a9a71eb..ac17d510a2a5de2454ee4c72f65559110f9f4caf 100644 (file)
@@ -633,7 +633,7 @@ u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame)
        return false;
 }
 
-static void HTSetConnectBwModeCallback(struct rtllib_device *ieee)
+static void ht_set_connect_bw_mode_callback(struct rtllib_device *ieee)
 {
        struct rt_hi_throughput *ht_info = ieee->ht_info;
 
@@ -695,5 +695,5 @@ void ht_set_connect_bw_mode(struct rtllib_device *ieee,
 
        ht_info->sw_bw_in_progress = true;
 
-       HTSetConnectBwModeCallback(ieee);
+       ht_set_connect_bw_mode_callback(ieee);
 }