hostap: Fix hostapd AP compilation error
The supplicant_ap_status() is only available if CONFIG_WIFI_NM_HOSTAPD_AP is enabled. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
5c5f3b0b51
commit
18275f84d7
1 changed files with 1 additions and 1 deletions
|
|
@ -1847,7 +1847,6 @@ out:
|
|||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
int supplicant_ap_status(const struct device *dev, struct wifi_iface_status *status)
|
||||
{
|
||||
|
|
@ -1922,6 +1921,7 @@ out:
|
|||
k_mutex_unlock(&wpa_supplicant_mutex);
|
||||
return ret;
|
||||
}
|
||||
#endif /* CONFIG_WIFI_NM_HOSTAPD_AP */
|
||||
|
||||
int supplicant_ap_enable(const struct device *dev,
|
||||
struct wifi_connect_req_params *params)
|
||||
|
|
|
|||
Loading…
Reference in a new issue