mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Add control interface command to enable/disable roaming
The new "SET roaming <0/1>" command can now be used to control driver-based roaming. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
fa61bff6ae
commit
9a72bfe9a4
@ -632,6 +632,8 @@ static int wpa_supplicant_ctrl_iface_set(struct wpa_supplicant *wpa_s,
|
||||
ret = wpas_ctrl_set_relative_band_adjust(wpa_s, value);
|
||||
} else if (os_strcasecmp(cmd, "ric_ies") == 0) {
|
||||
ret = wpas_ctrl_iface_set_ric_ies(wpa_s, value);
|
||||
} else if (os_strcasecmp(cmd, "roaming") == 0) {
|
||||
ret = wpa_drv_roaming(wpa_s, atoi(value), NULL);
|
||||
} else {
|
||||
value[-1] = '=';
|
||||
ret = wpa_config_process_global(wpa_s->conf, cmd, -1);
|
||||
|
Loading…
Reference in New Issue
Block a user