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,
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 */
11 madwifi_receive_probe_req(drv);
12 @@ -1268,8 +1266,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);