staging: r8188eu: go2asoc is not needed
authorMartin Kaiser <martin@kaiser.cx>
Mon, 24 Oct 2022 08:14:17 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2022 17:19:39 +0000 (19:19 +0200)
commit8d5c6a1df1204280354bfb59316fd056e978a864
tree7f19b7db179f989bc481458ce02d8f3dfaf95f3f
parentd667d36d689eb3b0cd1bd0d09b36cbad9625f10b
staging: r8188eu: go2asoc is not needed

Remove the go2asoc variable in OnAuthClient and call start_clnt_assoc
directly. This makes the code a tiny bit shorter.

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-18-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c