mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 17:03:47 -04:00
staging: r8188eu: make OnBeacon static
OnBeacon is used only in rtw_mlme_ext.c. Make this function static. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20221024081417.66441-7-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bd0bd67c6b
commit
1aad70df18
@@ -561,7 +561,7 @@ static unsigned int OnProbeRsp(struct adapter *padapter, struct recv_frame *prec
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
unsigned int OnBeacon(struct adapter *padapter, struct recv_frame *precv_frame)
|
||||
static unsigned int OnBeacon(struct adapter *padapter, struct recv_frame *precv_frame)
|
||||
{
|
||||
int cam_idx;
|
||||
struct sta_info *psta;
|
||||
|
||||
@@ -536,8 +536,6 @@ void start_clnt_auth(struct adapter *padapter);
|
||||
void start_clnt_join(struct adapter *padapter);
|
||||
void start_create_ibss(struct adapter *padapter);
|
||||
|
||||
unsigned int OnBeacon(struct adapter *padapter,
|
||||
struct recv_frame *precv_frame);
|
||||
unsigned int OnDisassoc(struct adapter *padapter,
|
||||
struct recv_frame *precv_frame);
|
||||
unsigned int OnAuth(struct adapter *padapter,
|
||||
|
||||
Reference in New Issue
Block a user