Staging: rtl8192e: Rename variable pBaStartSeqCtrl
authorTree Davies <tdavies@darkphysics.net>
Sun, 17 Dec 2023 23:55:20 +0000 (15:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Dec 2023 15:32:09 +0000 (16:32 +0100)
Rename variable pBaStartSeqCtrl to ba_start_seq_ctrl to fix checkpatch
warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20231217235520.30377-7-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c

index 2fd54312c04fe20e31ef47aaf7e324ca009d91cd..ee9ce392155c310cc4c1a7c5e461768e3a7979b9 100644 (file)
@@ -219,7 +219,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
        struct ba_record *ba = NULL;
        union ba_param_set *ba_param_set = NULL;
        u16 *ba_timeout_value = NULL;
-       union sequence_control *pBaStartSeqCtrl = NULL;
+       union sequence_control *ba_start_seq_ctrl = NULL;
        struct rx_ts_record *ts = NULL;
 
        if (skb->len < sizeof(struct ieee80211_hdr_3addr) + 9) {
@@ -241,7 +241,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
        dialog_token = tag + 2;
        ba_param_set = (union ba_param_set *)(tag + 3);
        ba_timeout_value = (u16 *)(tag + 5);
-       pBaStartSeqCtrl = (union sequence_control *)(req + 7);
+       ba_start_seq_ctrl = (union sequence_control *)(req + 7);
 
        if (!ieee->current_network.qos_data.active ||
            !ieee->ht_info->current_ht_support ||
@@ -274,7 +274,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
        ba->dialog_token = *dialog_token;
        ba->ba_param_set = *ba_param_set;
        ba->ba_timeout_value = *ba_timeout_value;
-       ba->ba_start_seq_ctrl = *pBaStartSeqCtrl;
+       ba->ba_start_seq_ctrl = *ba_start_seq_ctrl;
 
        if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) ||
           (ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT))