hostapd: update to 20110402, fixes issues with non-QoS clients
[openwrt.git] / package / hostapd / patches / 710-bring_down_interface.patch
1 --- a/src/drivers/driver_nl80211.c
2 +++ b/src/drivers/driver_nl80211.c
3 @@ -4904,9 +4904,6 @@ static int wpa_driver_nl80211_set_mode(v
4 /* Try to set the mode again while the interface is
5 * down */
6 ret = nl80211_set_mode(drv, drv->ifindex, nlmode);
7 - if (linux_set_iface_flags(drv->ioctl_sock, bss->ifname,
8 - 1))
9 - ret = -1;
10 if (!ret)
11 break;
12 } else
13 @@ -4919,6 +4916,8 @@ static int wpa_driver_nl80211_set_mode(v
14 wpa_printf(MSG_DEBUG, "nl80211: Mode change succeeded while "
15 "interface is down");
16 drv->nlmode = nlmode;
17 + if (linux_set_iface_flags(drv->ioctl_sock, bss->ifname, 1))
18 + ret = -1;
19 }
20
21 done:
This page took 0.044621 seconds and 5 git commands to generate.