Commit 7d0b25d7 authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman

staging: r8188eu: don't call empty DoReserved function

Replace the DoReserved function pointer with NULL in mlme_sta_tbl. We can
skip the function call for reserved subtypes.
Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220417102221.466524-6-martin@kaiser.cxSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9e9bbd6f
......@@ -22,8 +22,8 @@ static mlme_handler mlme_sta_tbl[] = {
OnAssocRsp,
OnProbeReq,
OnProbeRsp,
DoReserved,
DoReserved,
NULL,
NULL,
OnBeacon,
OnAtim,
OnDisassoc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment