aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2011-12-10 15:17:43 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-10 19:11:32 (GMT)
commit4f73d88afa840362763eb96bec6374c9f30ca646 (patch)
treeeb2ba006c1be310a111d0826ee3dfe8d71a5e865 /hostapd
parent562c9d976e267b6f1df10ec4cdd9bac85d4c35fc (diff)
downloadhostap-4f73d88afa840362763eb96bec6374c9f30ca646.zip
hostap-4f73d88afa840362763eb96bec6374c9f30ca646.tar.gz
hostap-4f73d88afa840362763eb96bec6374c9f30ca646.tar.bz2
Maintain internal copy of Probe Response offload capabilities
Signed-hostap: Arik Nemtsov <arik@wizery.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hostapd/main.c b/hostapd/main.c
index 99c137d..da8135b 100644
--- a/hostapd/main.c
+++ b/hostapd/main.c
@@ -303,8 +303,10 @@ static int hostapd_driver_init(struct hostapd_iface *iface)
}
if (hapd->driver->get_capa &&
- hapd->driver->get_capa(hapd->drv_priv, &capa) == 0)
+ hapd->driver->get_capa(hapd->drv_priv, &capa) == 0) {
iface->drv_flags = capa.flags;
+ iface->probe_resp_offloads = capa.probe_resp_offloads;
+ }
return 0;
}