From: vamsi krishna Date: Thu, 31 Aug 2017 08:45:18 +0000 (+0530) Subject: OCE: Update default scan IEs when OCE is enabled/disabled X-Git-Tag: hostap_2_7~1085 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e37cea308e221c7b7eeffb76f7e24cf68ab37927;p=thirdparty%2Fhostap.git OCE: Update default scan IEs when OCE is enabled/disabled Update the default scan IEs when OCE is enabled/disabled to the driver/firmware, so that the correct IEs will be sent out by the driver/firmware in Probe Request frames. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 6710ca34e..40c0c4582 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -690,6 +690,7 @@ static int wpa_supplicant_ctrl_iface_set(struct wpa_supplicant *wpa_s, } else { wpa_s->enable_oce = 0; } + wpa_supplicant_set_default_scan_ies(wpa_s); #endif /* CONFIG_MBO */ } else if (os_strcasecmp(cmd, "lci") == 0) { ret = wpas_ctrl_iface_set_lci(wpa_s, value);