1 diff -ur hostapd.old/driver_madwifi.c hostapd.dev/driver_madwifi.c
2 --- hostapd.old/driver_madwifi.c 2006-03-25 20:55:18.000000000 +0100
3 +++ hostapd.dev/driver_madwifi.c 2006-06-12 21:54:22.000000000 +0200
6 #include <include/compat.h>
7 #include <net80211/ieee80211.h>
9 -/* Assume this is built against BSD branch of madwifi driver. */
11 -#include <net80211/_ieee80211.h>
12 -#endif /* WME_NUM_AC */
13 #include <net80211/ieee80211_crypto.h>
14 #include <net80211/ieee80211_ioctl.h>
21 +static int madwifi_get_inact_sec(void *priv, const u8 *addr)
26 set80211param(struct madwifi_driver_data *drv, int op, int arg)
32 - madwifi_set_iface_flags(drv, 0); /* mark down during setup */
34 hapd->driver = &drv->ops;
39 drv->hapd->driver = NULL;
41 - (void) madwifi_set_iface_flags(drv, 0);
42 if (drv->ioctl_sock >= 0)
43 close(drv->ioctl_sock);
44 if (drv->sock_recv != NULL && drv->sock_recv != drv->sock_xmit)
46 .get_ssid = madwifi_get_ssid,
47 .set_countermeasures = madwifi_set_countermeasures,
48 .sta_clear_stats = madwifi_sta_clear_stats,
49 + .get_inact_sec = madwifi_get_inact_sec,
52 void madwifi_driver_register(void)