Browse Source

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 <jouni@qca.qualcomm.com>
vamsi krishna 7 years ago
parent
commit
e37cea308e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      wpa_supplicant/ctrl_iface.c

+ 1 - 0
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);