mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-02 23:23:05 +00:00
netinit: associate wlan if DRIVERS_IEEE80211 enabled
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
cbcfe6be28
commit
a1ea7f9df7
1 changed files with 1 additions and 1 deletions
|
|
@ -595,7 +595,7 @@ static void netinit_net_bringup(void)
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_WIRELESS_WAPI
|
||||
#if defined(CONFIG_WIRELESS_WAPI) && defined(CONFIG_DRIVERS_IEEE80211)
|
||||
/* Associate the wlan with an access point. */
|
||||
|
||||
if (netinit_associate(NET_DEVNAME) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue