Staging: rtl8192e: Rename function TsInitDelBA
authorTree Davies <tdavies@darkphysics.net>
Mon, 7 Aug 2023 05:47:29 +0000 (22:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Aug 2023 12:25:17 +0000 (14:25 +0200)
Rename function TsInitDelBA to rtllib_ts_init_del_ba in order to Fix
checkpatch warning: Avoid CamelCase.

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

index 9605d21..19c845e 100644 (file)
@@ -484,9 +484,9 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS,
        rtllib_send_ADDBAReq(ieee, pTS->TsCommonInfo.Addr, pBA);
 }
 
-void TsInitDelBA(struct rtllib_device *ieee,
-                struct ts_common_info *pTsCommonInfo,
-                enum tr_select TxRxSelect)
+void rtllib_ts_init_del_ba(struct rtllib_device *ieee,
+                          struct ts_common_info *pTsCommonInfo,
+                          enum tr_select TxRxSelect)
 {
        if (TxRxSelect == TX_DIR) {
                struct tx_ts_record *pTxTs =
index a36f175..7597787 100644 (file)
@@ -361,7 +361,7 @@ bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS,
 static void RemoveTsEntry(struct rtllib_device *ieee,
                          struct ts_common_info *pTs, enum tr_select TxRxSelect)
 {
-       TsInitDelBA(ieee, pTs, TxRxSelect);
+       rtllib_ts_init_del_ba(ieee, pTs, TxRxSelect);
 
        if (TxRxSelect == RX_DIR) {
                struct rx_reorder_entry *pRxReorderEntry;
index c38dc5a..a4238db 100644 (file)
@@ -2004,9 +2004,9 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb);
 int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb);
 void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS,
                           u8 Policy, u8 bOverwritePending);
-void TsInitDelBA(struct rtllib_device *ieee,
-                struct ts_common_info *pTsCommonInfo,
-                enum tr_select TxRxSelect);
+void rtllib_ts_init_del_ba(struct rtllib_device *ieee,
+                          struct ts_common_info *pTsCommonInfo,
+                          enum tr_select TxRxSelect);
 void BaSetupTimeOut(struct timer_list *t);
 void TxBaInactTimeout(struct timer_list *t);
 void RxBaInactTimeout(struct timer_list *t);