mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
staging: r8188eu: remove OnAtim
Remove the empty OnAtim function. We can set the function pointer in mlme_sta_tbl to NULL if no action is required for this management frame subtype. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220421200449.191983-1-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
97042d0a75
commit
6d933902c6
@@ -25,7 +25,7 @@ static mlme_handler mlme_sta_tbl[] = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
OnBeacon,
|
OnBeacon,
|
||||||
OnAtim,
|
NULL,
|
||||||
OnDisassoc,
|
OnDisassoc,
|
||||||
OnAuthClient,
|
OnAuthClient,
|
||||||
OnDeAuth,
|
OnDeAuth,
|
||||||
@@ -1479,11 +1479,6 @@ unsigned int OnDisassoc(struct adapter *padapter, struct recv_frame *precv_frame
|
|||||||
return _SUCCESS;
|
return _SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int OnAtim(struct adapter *padapter, struct recv_frame *precv_frame)
|
|
||||||
{
|
|
||||||
return _SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned int on_action_spct(struct adapter *padapter, struct recv_frame *precv_frame)
|
unsigned int on_action_spct(struct adapter *padapter, struct recv_frame *precv_frame)
|
||||||
{
|
{
|
||||||
unsigned int ret = _FAIL;
|
unsigned int ret = _FAIL;
|
||||||
|
|||||||
Reference in New Issue
Block a user