aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_glue.c
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-11-19 17:02:05 (GMT)
committerJouni Malinen <j@w1.fi>2011-11-19 17:02:05 (GMT)
commit8cfa3527e174f93e6d14b0cf1197fd02cb9e2ded (patch)
treebecf35507bb8f3316a344a8c4771e69f1d1244ae /src/ap/wpa_auth_glue.c
parent3f56f3a496a51efe9ee528098968549e14fe9184 (diff)
downloadhostap-8cfa3527e174f93e6d14b0cf1197fd02cb9e2ded.zip
hostap-8cfa3527e174f93e6d14b0cf1197fd02cb9e2ded.tar.gz
hostap-8cfa3527e174f93e6d14b0cf1197fd02cb9e2ded.tar.bz2
Allow MLME frames to be sent without expecting an ACK (no retries)
In some situations it might be benefical to send a unicast frame without the need for getting it ACKed (probe responses for example). In order to achieve this add a new noack parameter to the drivers send_mlme callback that can be used to advise the driver to not wait for an ACK for this frame. Signed-hostap: Helmut Schaa <helmut.schaa@googlemail.com>
Diffstat (limited to 'src/ap/wpa_auth_glue.c')
-rw-r--r--src/ap/wpa_auth_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index fc58f9d..1e9d422 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -416,7 +416,7 @@ static int hostapd_wpa_auth_send_ft_action(void *ctx, const u8 *dst,
os_memcpy(m->bssid, hapd->own_addr, ETH_ALEN);
os_memcpy(&m->u, data, data_len);
- res = hostapd_drv_send_mlme(hapd, (u8 *) m, mlen);
+ res = hostapd_drv_send_mlme(hapd, (u8 *) m, mlen, 0);
os_free(m);
return res;
}