Staging: rtl8192e: Rename variable pAdmittedBa
authorTree Davies <tdavies@darkphysics.net>
Thu, 21 Sep 2023 03:25:06 +0000 (20:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Sep 2023 09:12:19 +0000 (11:12 +0200)
Rename variable pAdmittedBa to admitted_ba 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/20230921032515.96152-3-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c

index fbac0e598cf90df8c726218d4e9ec3318d13f50d..a12966cadbca361b6efb3e32392fe347f09ec412 100644 (file)
@@ -25,7 +25,7 @@ static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pB
 
 static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs)
 {
-       struct ba_record *pAdmittedBa = &pTxTs->TxAdmittedBARecord;
+       struct ba_record *admitted_ba = &pTxTs->TxAdmittedBARecord;
        struct ba_record *pPendingBa = &pTxTs->TxPendingBARecord;
        u8 bSendDELBA = false;
 
@@ -34,8 +34,8 @@ static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs
                bSendDELBA = true;
        }
 
-       if (pAdmittedBa->b_valid) {
-               deactivate_ba_entry(ieee, pAdmittedBa);
+       if (admitted_ba->b_valid) {
+               deactivate_ba_entry(ieee, admitted_ba);
                bSendDELBA = true;
        }
        return bSendDELBA;