wpa_supplicant: AP mode, set drv_flags

In AP/P2P_GO mode we should have correct hostapd drv_flags.
This commit is contained in:
Janusz Dziedzic 2011-09-21 09:28:38 +02:00 committed by Jouni Malinen
parent 1755b61679
commit a57db49c32

View file

@ -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) {