]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: rename rtw_btcoex_RejectApAggregatedPacket()
authorLinus Probert <linus.probert@gmail.com>
Mon, 27 Apr 2026 17:38:55 +0000 (19:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 May 2026 14:48:59 +0000 (16:48 +0200)
Renames rtw_btcoex_RejectApAggregatedPacket to
rtw_btcoex_reject_ap_aggregated_packet in order to conform to kernel
code style.

Found using checkpatch.pl.

Signed-off-by: Linus Probert <linus.probert@gmail.com>
Reviewed-by: Luka Gejak <luka.gejak@linux.dev>
Link: https://patch.msgid.link/20260427173857.585742-7-linus.probert@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_btcoex.c
drivers/staging/rtl8723bs/hal/hal_btcoex.c
drivers/staging/rtl8723bs/include/rtw_btcoex.h

index 197bc4e7f73b24697d5ca3ef134fd99607d38af5..c2926322ebd24df775bcffaf762900f8ae9bcd65 100644 (file)
@@ -32,7 +32,7 @@ void rtw_btcoex_halt_notify(struct adapter *padapter)
 /*  ================================================== */
 /*  Below Functions are called by BT-Coex */
 /*  ================================================== */
-void rtw_btcoex_RejectApAggregatedPacket(struct adapter *padapter, u8 enable)
+void rtw_btcoex_reject_ap_aggregated_packet(struct adapter *padapter, u8 enable)
 {
        struct mlme_ext_info *pmlmeinfo;
        struct sta_info *psta;
index 2a2dd60be8bb9442d20ef2aa898d62af99c7e097..77c474919ffc1cff47a988f9ecda7320755b5134 100644 (file)
@@ -134,7 +134,7 @@ static void halbtcoutsrc_AggregationCheck(struct btc_coexist *pBtCoexist)
        bNeedToAct = false;
 
        if (pBtCoexist->btInfo.bRejectAggPkt) {
-               rtw_btcoex_RejectApAggregatedPacket(padapter, true);
+               rtw_btcoex_reject_ap_aggregated_packet(padapter, true);
        } else {
                if (pBtCoexist->btInfo.bPreBtCtrlAggBufSize !=
                        pBtCoexist->btInfo.bBtCtrlAggBufSize) {
@@ -151,8 +151,8 @@ static void halbtcoutsrc_AggregationCheck(struct btc_coexist *pBtCoexist)
                }
 
                if (bNeedToAct) {
-                       rtw_btcoex_RejectApAggregatedPacket(padapter, true);
-                       rtw_btcoex_RejectApAggregatedPacket(padapter, false);
+                       rtw_btcoex_reject_ap_aggregated_packet(padapter, true);
+                       rtw_btcoex_reject_ap_aggregated_packet(padapter, false);
                }
        }
 }
index d9ed8f2d8d14a22bfbad3a12cbd3aba9f7148878..61a67360af008733ee13935f93d962510af9076b 100644 (file)
@@ -20,7 +20,7 @@ void rtw_btcoex_halt_notify(struct adapter *padapter);
 /*  ================================================== */
 /*  Below Functions are called by BT-Coex */
 /*  ================================================== */
-void rtw_btcoex_RejectApAggregatedPacket(struct adapter *padapter, u8 enable);
+void rtw_btcoex_reject_ap_aggregated_packet(struct adapter *padapter, u8 enable);
 void rtw_btcoex_LPS_Enter(struct adapter *padapter);
 void rtw_btcoex_LPS_Leave(struct adapter *padapter);