wpa_supplicant: AP mode, set drv_flags
In AP/P2P_GO mode we should have correct hostapd drv_flags.
This commit is contained in:
parent
1755b61679
commit
a57db49c32
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
|
|||
if (hapd_iface == NULL)
|
||||
return -1;
|
||||
hapd_iface->owner = wpa_s;
|
||||
hapd_iface->drv_flags = wpa_s->drv_flags;
|
||||
|
||||
wpa_s->ap_iface->conf = conf = hostapd_config_defaults();
|
||||
if (conf == NULL) {
|
||||
|
|
Loading…
Reference in a new issue