[PATCH 6/8] staging: rtl8723bs: rename rtw_btcoex_RejectApAggregatedPacket()
From: Linus Probert
Date: Mon Apr 27 2026 - 13:40:09 EST
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@xxxxxxxxx>
---
drivers/staging/rtl8723bs/core/rtw_btcoex.c | 2 +-
drivers/staging/rtl8723bs/hal/hal_btcoex.c | 6 +++---
drivers/staging/rtl8723bs/include/rtw_btcoex.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
index 24184c8d34de..2528520262a6 100644
--- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
+++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
@@ -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;
diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
index 2a2dd60be8bb..77c474919ffc 100644
--- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c
+++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
@@ -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);
}
}
}
diff --git a/drivers/staging/rtl8723bs/include/rtw_btcoex.h b/drivers/staging/rtl8723bs/include/rtw_btcoex.h
index d9ed8f2d8d14..61a67360af00 100644
--- a/drivers/staging/rtl8723bs/include/rtw_btcoex.h
+++ b/drivers/staging/rtl8723bs/include/rtw_btcoex.h
@@ -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);
--
2.54.0