|
@@ -590,7 +590,7 @@ void r8712_surveydone_event_callback(struct _adapter *adapter, u8 *pbuf)
|
|
|
}
|
|
|
|
|
|
if (pmlmepriv->to_join == true) {
|
|
|
- if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) {
|
|
|
+ if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) {
|
|
|
if (check_fwstate(pmlmepriv, _FW_LINKED) == false) {
|
|
|
set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
|
|
|
|