Root/package/hostapd/patches/100-madwifi_fix.patch

1--- a/src/drivers/driver_madwifi.c
2+++ b/src/drivers/driver_madwifi.c
3@@ -1177,8 +1177,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, 0); /* default to no privacy */
10 
11     madwifi_receive_probe_req(drv);
12@@ -1268,8 +1266,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 */
22

Archive Download this file



interactive