mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-20 02:53:03 -05:00
mesh: Remove duplicated no_auto_peer update
Commit 07cb45ccb2baa6e9627e3d21a285b95d744a6c77 ('mesh: Add no_auto_peer config option') added a new struct wpa_ssid argument and added an unnecessary parsing and setting of the value in wpa_supplicant_ctrl_iface_update_network(). This is not needed since wpa_config_set() takes care of parsing the parameters. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
1e529832a8
commit
11e2ddbcd7
@ -2930,8 +2930,6 @@ static int wpa_supplicant_ctrl_iface_update_network(
|
||||
wpa_config_update_psk(ssid);
|
||||
else if (os_strcmp(name, "priority") == 0)
|
||||
wpa_config_update_prio_list(wpa_s->conf);
|
||||
else if (os_strcmp(name, "no_auto_peer") == 0)
|
||||
ssid->no_auto_peer = atoi(value);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user