hostapd: fix compile error in the roboswitch driver
[openwrt.git] / package / hostapd / patches / 100-madwifi_fix.patch
1 --- a/src/drivers/driver_madwifi.c
2 +++ b/src/drivers/driver_madwifi.c
3 @@ -1170,8 +1170,6 @@ madwifi_init(struct hostapd_data *hapd,
4 goto bad;
5 }
6
7 - /* mark down during setup */
8 - linux_set_iface_flags(drv->ioctl_sock, drv->iface, 0);
9 madwifi_set_privacy(drv->iface, drv, 0); /* default to no privacy */
10
11 madwifi_receive_probe_req(drv);
12 @@ -1261,8 +1259,7 @@ madwifi_set_countermeasures(void *priv,
13 static int
14 madwifi_commit(void *priv)
15 {
16 - struct madwifi_driver_data *drv = priv;
17 - return linux_set_iface_flags(drv->ioctl_sock, drv->iface, 1);
18 + return 0;
19 }
20
21 #else /* HOSTAPD */
This page took 0.040793 seconds and 5 git commands to generate.