aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ctrl_iface.c
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-11-19 19:02:05 +0200
committerJouni Malinen <j@w1.fi>2011-11-19 19:02:05 +0200
commit8cfa3527e174f93e6d14b0cf1197fd02cb9e2ded (patch)
treebecf35507bb8f3316a344a8c4771e69f1d1244ae /hostapd/ctrl_iface.c
parent3f56f3a496a51efe9ee528098968549e14fe9184 (diff)
downloadexternal_wpa_supplicant_8_ti-8cfa3527e174f93e6d14b0cf1197fd02cb9e2ded.zip
external_wpa_supplicant_8_ti-8cfa3527e174f93e6d14b0cf1197fd02cb9e2ded.tar.gz
external_wpa_supplicant_8_ti-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 'hostapd/ctrl_iface.c')
-rw-r--r--hostapd/ctrl_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c
index 61bd1e5..8284ab6 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -566,7 +566,7 @@ static int hostapd_ctrl_iface_ess_disassoc(struct hostapd_data *hapd,
os_memcpy(pos, url, url_len);
pos += url_len;
- if (hostapd_drv_send_mlme(hapd, buf, pos - buf) < 0) {
+ if (hostapd_drv_send_mlme(hapd, buf, pos - buf, 0) < 0) {
wpa_printf(MSG_DEBUG, "Failed to send BSS Transition "
"Management Request frame");
return -1;