mesh: Remove duplicated no_auto_peer update
Commit 07cb45ccb2
('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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Reference in a new issue