mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 01:25:39 +01:00
staging: r8188eu: merge rtw_{os,}_indicate_scan_done()
Merge rtw_os_indicate_scan_done() into rtw_indicate_scan_done(). It looks like the driver was originaly written to support different operating systems. We do not need this wrapping into an extra _os_ function obviously. 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/20220819125428.8412-11-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
29c34f1d08
commit
9863e257f5
|
|
@ -894,7 +894,7 @@ void rtw_indicate_disconnect(struct adapter *padapter)
|
|||
|
||||
inline void rtw_indicate_scan_done(struct adapter *padapter, bool aborted)
|
||||
{
|
||||
rtw_os_indicate_scan_done(padapter, aborted);
|
||||
indicate_wx_scan_complete_event(padapter);
|
||||
}
|
||||
|
||||
static struct sta_info *rtw_joinbss_update_stainfo(struct adapter *padapter, struct wlan_network *pnetwork)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
#include "drv_types.h"
|
||||
|
||||
void rtw_init_mlme_timer(struct adapter *padapter);
|
||||
void rtw_os_indicate_scan_done(struct adapter *padapter, bool aborted);
|
||||
|
||||
void indicate_wx_scan_complete_event(struct adapter *padapter);
|
||||
|
||||
|
|
|
|||
|
|
@ -37,8 +37,3 @@ void rtw_init_mlme_timer(struct adapter *padapter)
|
|||
timer_setup(&pmlmepriv->scan_to_timer, _rtw_scan_timeout_handler, 0);
|
||||
timer_setup(&pmlmepriv->dynamic_chk_timer, _dynamic_check_timer_handlder, 0);
|
||||
}
|
||||
|
||||
void rtw_os_indicate_scan_done(struct adapter *padapter, bool aborted)
|
||||
{
|
||||
indicate_wx_scan_complete_event(padapter);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user