mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
staging: r8188eu: remove an else branch
If we go into this else branch, go2asoc is 0. We can continue to the end of the function. The final if condition will be false. 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-17-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cb2cff04d0
commit
d667d36d68
@@ -848,8 +848,6 @@ static void OnAuthClient(struct adapter *padapter, struct recv_frame *precv_fram
|
||||
} else if (seq == 4) {
|
||||
if (pmlmeinfo->auth_algo == dot11AuthAlgrthm_Shared)
|
||||
go2asoc = 1;
|
||||
else
|
||||
return;
|
||||
}
|
||||
|
||||
if (go2asoc)
|
||||
|
||||
Reference in New Issue
Block a user