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

Issue 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-4-linus.probert@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ap.c
drivers/staging/rtl8723bs/core/rtw_btcoex.c
drivers/staging/rtl8723bs/core/rtw_cmd.c
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
drivers/staging/rtl8723bs/include/rtw_btcoex.h

index f213bb8e173ca9e1fc516913a5fc30f72654b00b..0fc41ae47fb05dc16e7c5789ce44d50f386c297e 100644 (file)
@@ -2039,5 +2039,5 @@ void stop_ap_mode(struct adapter *padapter)
 
        rtw_free_mlme_priv_ie_data(pmlmepriv);
 
-       rtw_btcoex_MediaStatusNotify(padapter, 0); /* disconnect */
+       rtw_btcoex_media_status_notify(padapter, 0); /* disconnect */
 }
index 055ca95ff5a7ae7093a99ac056cce30663a5b2f4..38d6b66a24d8b0572f11af00b087370031bb99ff 100644 (file)
@@ -8,7 +8,7 @@
 #include <rtw_btcoex.h>
 #include <hal_btcoex.h>
 
-void rtw_btcoex_MediaStatusNotify(struct adapter *padapter, u8 media_status)
+void rtw_btcoex_media_status_notify(struct adapter *padapter, u8 media_status)
 {
        if ((media_status == RT_MEDIA_CONNECT) &&
            (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true)) {
index 72d5905a48e954535f3ea637d1455f9a6da755ac..3fc9406e421cd228a71991a1e7557064ccdedbe5 100644 (file)
@@ -1291,11 +1291,11 @@ void lps_ctrl_wk_hdl(struct adapter *padapter, u8 lps_ctrl_type)
                /*  Reset LPS Setting */
                pwrpriv->LpsIdleCount = 0;
                rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_JOINBSSRPT, (u8 *)(&mstatus));
-               rtw_btcoex_MediaStatusNotify(padapter, mstatus);
+               rtw_btcoex_media_status_notify(padapter, mstatus);
                break;
        case LPS_CTRL_DISCONNECT:
                mstatus = 0;/* disconnect */
-               rtw_btcoex_MediaStatusNotify(padapter, mstatus);
+               rtw_btcoex_media_status_notify(padapter, mstatus);
                LPS_Leave(padapter, "LPS_CTRL_DISCONNECT");
                rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_JOINBSSRPT, (u8 *)(&mstatus));
                break;
index cfd3eb253350ec7ce02882f0b8ad5e89ceda71ea..351f66e1ecbc8b2d63824d90152e096bd9af5ea7 100644 (file)
@@ -5126,7 +5126,7 @@ u8 setopmode_hdl(struct adapter *padapter, u8 *pbuf)
        if (psetop->mode == Ndis802_11APMode) {
                /*  Do this after port switch to */
                /*  prevent from downloading rsvd page to wrong port */
-               rtw_btcoex_MediaStatusNotify(padapter, 1); /* connect */
+               rtw_btcoex_media_status_notify(padapter, 1); /* connect */
        }
 
        return H2C_SUCCESS;
index df939b20867b8ef62f998278228a899cce88025d..524f0fba294d6f18795c76672828789e80ef6b7f 100644 (file)
@@ -14,7 +14,7 @@
 #define        PACKET_ARP                              2
 #define        PACKET_EAPOL                    3
 
-void rtw_btcoex_MediaStatusNotify(struct adapter *padapter, u8 mediaStatus);
+void rtw_btcoex_media_status_notify(struct adapter *padapter, u8 mediaStatus);
 void rtw_btcoex_HaltNotify(struct adapter *padapter);
 
 /*  ================================================== */