Fix DUP_NETWORK debug print on error case
Incorrect network id was printed in debug output if DUP_NETWORK destination network was not found. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
146374019a
commit
c054190603
1 changed files with 1 additions and 1 deletions
|
@ -2878,7 +2878,7 @@ static int wpa_supplicant_ctrl_iface_dup_network(
|
||||||
ssid_d = wpa_config_get_network(wpa_s->conf, id_d);
|
ssid_d = wpa_config_get_network(wpa_s->conf, id_d);
|
||||||
if (ssid_d == NULL) {
|
if (ssid_d == NULL) {
|
||||||
wpa_printf(MSG_DEBUG, "CTRL_IFACE: Could not find "
|
wpa_printf(MSG_DEBUG, "CTRL_IFACE: Could not find "
|
||||||
"network id=%d", id_s);
|
"network id=%d", id_d);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue