]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix bridge name print while removing interface from bridge
authorRohit Pratap Singh <rohit.s@samsung.com>
Wed, 23 Aug 2017 10:29:10 +0000 (15:59 +0530)
committerJouni Malinen <j@w1.fi>
Sun, 10 Sep 2017 19:11:08 +0000 (22:11 +0300)
commitfdbfb63e458c89a81b7dc63dc85410cccfc449e4
treee4c0dc9dff4208365809eca6e1033f4706adbd62
parentae503866b9a58905e5464533bc015640bf8a9fa7
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>
src/drivers/driver_nl80211.c