]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
OCE: Update default scan IEs when OCE is enabled/disabled
authorvamsi krishna <vamsin@qti.qualcomm.com>
Thu, 31 Aug 2017 08:45:18 +0000 (14:15 +0530)
committerJouni Malinen <j@w1.fi>
Sun, 1 Oct 2017 15:47:02 +0000 (18:47 +0300)
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 <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c

index 6710ca34e821a5b7dc51976d256714431dc7e1bc..40c0c458242a206577e2556d6a9492d7d5ecf919 100644 (file)
@@ -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);