staging: r8188eu: rename rtw_os_xmit_schedule()
authorMichael Straube <straube.linux@gmail.com>
Sat, 20 Aug 2022 18:16:07 +0000 (20:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Aug 2022 13:42:45 +0000 (15:42 +0200)
The function rtw_os_xmit_schedule() was moved from the os_dep
directory. It looks like the driver was originaly written to support
different operating systems. Obviously we do not need an extra 'os'
in the function name that indicates that the function is operating
system specific. Rename it to rtw_xmit_schedule().

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220820181623.12497-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c

index c7f69f7918b8d0b2c99c80fce3773b8f93841579..9e7e0034d3525a8a4340d2ce3d8977c9c5092971 100644 (file)
@@ -641,7 +641,7 @@ exit:
        spin_unlock_bh(&pmlmepriv->lock);
 }
 
-static void rtw_os_xmit_schedule(struct adapter *padapter)
+static void rtw_xmit_schedule(struct adapter *padapter)
 {
        struct xmit_priv *pxmitpriv;
 
@@ -736,7 +736,7 @@ void rtw_surveydone_event_callback(struct adapter   *adapter, u8 *pbuf)
        if (check_fwstate(pmlmepriv, _FW_LINKED))
                p2p_ps_wk_cmd(adapter, P2P_PS_SCAN_DONE, 0);
 
-       rtw_os_xmit_schedule(adapter);
+       rtw_xmit_schedule(adapter);
 }
 
 static void free_scanqueue(struct      mlme_priv *pmlmepriv)
@@ -1134,8 +1134,7 @@ void rtw_joinbss_event_callback(struct adapter *adapter, u8 *pbuf)
 
        mlmeext_joinbss_event_callback(adapter, pnetwork->join_res);
 
-       rtw_os_xmit_schedule(adapter);
-
+       rtw_xmit_schedule(adapter);
 }
 
 void rtw_set_max_rpt_macid(struct adapter *adapter, u8 macid)