From: Jouni Malinen Date: Sat, 7 Feb 2015 14:19:53 +0000 (+0200) Subject: mesh: Remove duplicated no_auto_peer update X-Git-Tag: hostap_2_4~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11e2ddbcd769b1104fba1bf72ca151e894f04315;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 428a496d4..7a77a7f19 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -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; }