Hi Please review and merge below patch. it will fix print wrong variable name during fail case. From e35844b0426d543e981b22acb473f086b7051c59 Mon Sep 17 00:00:00 2001 From: Rohit Pratap Singh <rohit.s@xxxxxxxxxxx> Date: Wed, 23 Aug 2017 15:59:10 +0530 Subject: [PATCH] nl80211: Fix bridge name print while removing interface from bridge. Removing interface from brige in_br linux_br_del_if(drv->global->ioctl_sock, in_br, ifname) but in case of failure ,Error print is incorrect, it should show error for "in_br" instead of wrong bridge name "brname". Signed-off-by: Rohit Pratap Singh <rohit.s@xxxxxxxxxxx> Signed-off-by: Amit Khatri <amit.khatri@xxxxxxxxxxx> --- src/drivers/driver_nl80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index e446acd..c46be89 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6064,7 +6064,7 @@ static int i802_check_bridge(struct wpa_driver_nl80211_data *drv, wpa_printf(MSG_ERROR, "nl80211: Failed to " "remove interface %s from bridge " "%s: %s", - ifname, brname, strerror(errno)); + ifname, in_br, strerror(errno)); return -1; } } -- 1.9.1
Attachment:
0001-nl80211-Fix-bridge-name-print-while-removing-interfa.patch
Description: Binary data
_______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap