nl80211: Fix bridge name print while removing interface from bridge
Removing interface from bridge in_br linux_br_del_if(drv->global->ioctl_sock, in_br, ifname) but in case of failure, the error print is incorrect: it should show error for "in_br" instead of the wrong bridge name "brname". Signed-off-by: Rohit Pratap Singh <rohit.s@samsung.com> Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
This commit is contained in:
parent
ae503866b9
commit
fdbfb63e45
1 changed files with 1 additions and 1 deletions
|
@ -6416,7 +6416,7 @@ static int i802_check_bridge(struct wpa_driver_nl80211_data *drv,
|
||||||
wpa_printf(MSG_ERROR, "nl80211: Failed to "
|
wpa_printf(MSG_ERROR, "nl80211: Failed to "
|
||||||
"remove interface %s from bridge "
|
"remove interface %s from bridge "
|
||||||
"%s: %s",
|
"%s: %s",
|
||||||
ifname, brname, strerror(errno));
|
ifname, in_br, strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue