]> www.infradead.org Git - linux.git/commitdiff
Staging: rtl8192e: Rename variable pFrame
authorTree Davies <tdavies@darkphysics.net>
Sun, 8 Sep 2024 19:26:21 +0000 (12:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 13:54:42 +0000 (15:54 +0200)
Rename variable pFrame to frame
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/20240908192633.94144-5-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HTProc.c
drivers/staging/rtl8192e/rtllib.h

index 188e1fd9554d37169ac5121ca02f570c7e1afb7e..9c9c0bc0cfde3105179bdcde5b5dc1d900fc2192 100644 (file)
@@ -622,10 +622,10 @@ void HT_update_self_and_peer_setting(struct rtllib_device *ieee,
 }
 EXPORT_SYMBOL(HT_update_self_and_peer_setting);
 
-u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame)
+u8 ht_c_check(struct rtllib_device *ieee, u8 *frame)
 {
        if (ieee->ht_info->current_ht_support) {
-               if ((is_qos_data_frame(pFrame) && frame_order(pFrame)) == 1) {
+               if ((is_qos_data_frame(frame) && frame_order(frame)) == 1) {
                        netdev_dbg(ieee->dev, "HT CONTROL FILED EXIST!!\n");
                        return true;
                }
index 9f812cedd1b3620c0d4e56570d5c52faa97220f7..95e1c81bf1321b700e2b6839c36100aca49f47b1 100644 (file)
@@ -1740,7 +1740,7 @@ u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *pMCSRateSet,
                       u8 *pMCSFilter);
 extern u8 MCS_FILTER_ALL[];
 extern u16 MCS_DATA_RATE[2][2][77];
-u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame);
+u8 ht_c_check(struct rtllib_device *ieee, u8 *frame);
 void ht_reset_iot_setting(struct rt_hi_throughput *ht_info);
 bool is_ht_half_nmode_aps(struct rtllib_device *ieee);
 u16  tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate);