mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
staging: rtl8723au: rtw_select_and_join_from_scanned_queue23a() never returns 2
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
66ed1bc999
commit
85b3c5e48e
1 changed files with 1 additions and 4 deletions
|
|
@ -742,10 +742,7 @@ rtw_surveydone_event_callback23a(struct rtw_adapter *adapter, const u8 *pbuf)
|
|||
pmlmepriv->to_join = false;
|
||||
ret = rtw_select_and_join_from_scanned_queue23a(
|
||||
pmlmepriv);
|
||||
if (ret == 2) {/* there is no need to wait */
|
||||
_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
|
||||
rtw_indicate_connect23a(adapter);
|
||||
} else if (ret != _SUCCESS) {
|
||||
if (ret != _SUCCESS) {
|
||||
DBG_8723A("try_to_join, but select scanning "
|
||||
"queue fail, to_roaming:%d\n",
|
||||
adapter->mlmepriv.to_roaming);
|
||||
|
|
|
|||
Loading…
Reference in a new issue