aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-10-29 18:49:46 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-29 18:49:46 (GMT)
commitb106173a82e061249e2b87e405f15e270dbe25f4 (patch)
tree028d40214cd295a1a083626a3ad6c46a18bcedec /wpa_supplicant/sme.c
parent970fa12ea2c1b99a8e7fbfc12a97393b5727361e (diff)
downloadhostap-b106173a82e061249e2b87e405f15e270dbe25f4.zip
hostap-b106173a82e061249e2b87e405f15e270dbe25f4.tar.gz
hostap-b106173a82e061249e2b87e405f15e270dbe25f4.tar.bz2
Add no_cck parameter for send_action() driver_ops
This can be used to apply the no-CCK rule conditionally depending on which frame is being sent. The no-CCK rule applies only for P2P management frames while SA Query and FT use cases do not have similar restrictions. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index cba8444..da689d2 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -647,7 +647,7 @@ static void sme_send_sa_query_req(struct wpa_supplicant *wpa_s,
os_memcpy(req + 2, trans_id, WLAN_SA_QUERY_TR_ID_LEN);
if (wpa_drv_send_action(wpa_s, wpa_s->assoc_freq, 0, wpa_s->bssid,
wpa_s->own_addr, wpa_s->bssid,
- req, sizeof(req)) < 0)
+ req, sizeof(req), 0) < 0)
wpa_msg(wpa_s, MSG_INFO, "SME: Failed to send SA Query "
"Request");
}