wireless/wapi: do not associate with essid/bssid at same time
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
e066cd177c
commit
c014504a93
@ -315,8 +315,7 @@ int wpa_driver_wext_associate(FAR struct wpa_wconfig_s *wconfig)
|
||||
goto close_socket;
|
||||
}
|
||||
}
|
||||
|
||||
if (wconfig->bssid)
|
||||
else if (wconfig->bssid)
|
||||
{
|
||||
ret = wapi_set_ap(sockfd, wconfig->ifname,
|
||||
(FAR const struct ether_addr *)wconfig->bssid);
|
||||
|
Loading…
Reference in New Issue
Block a user