From a57db49c32da30deecb909cf07690fd3210f3645 Mon Sep 17 00:00:00 2001 From: Janusz Dziedzic Date: Wed, 21 Sep 2011 09:28:38 +0200 Subject: [PATCH] wpa_supplicant: AP mode, set drv_flags In AP/P2P_GO mode we should have correct hostapd drv_flags. --- wpa_supplicant/ap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index ebac3b649..882cac435 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c @@ -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) {