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,
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 */
11 madwifi_receive_probe_req(drv);
12 @@ -1261,8 +1259,7 @@ madwifi_set_countermeasures(void *priv,
14 madwifi_commit(void *priv)
16 - struct madwifi_driver_data *drv = priv;
17 - return linux_set_iface_flags(drv->ioctl_sock, drv->iface, 1);