Messages in this thread Patch in this message |  | | From | Martin Kaiser <> | Subject | [PATCH 5/6] staging: r8188eu: don't call empty DoReserved function | Date | Sun, 17 Apr 2022 12:22:20 +0200 |
| |
Replace the DoReserved function pointer with NULL in mlme_sta_tbl. We can skip the function call for reserved subtypes.
Signed-off-by: Martin Kaiser <martin@kaiser.cx> --- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c index 492f481b61ec..abb910f33c1c 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -22,8 +22,8 @@ static mlme_handler mlme_sta_tbl[] = { OnAssocRsp, OnProbeReq, OnProbeRsp, - DoReserved, - DoReserved, + NULL, + NULL, OnBeacon, OnAtim, OnDisassoc, -- 2.30.2
|  |