aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dpp_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-02-10 10:42:00 (GMT)
committerJouni Malinen <j@w1.fi>2018-02-10 10:42:00 (GMT)
commitaca4d84e3dcdb2cf7bacdf71d5d93ed9b29b3e0f (patch)
tree0696cc59aff19147d6edf1033deba4b0ca281821 /wpa_supplicant/dpp_supplicant.c
parent0887215d941def91cc100c3d1f087fb9650b64c8 (diff)
downloadhostap-aca4d84e3dcdb2cf7bacdf71d5d93ed9b29b3e0f.zip
hostap-aca4d84e3dcdb2cf7bacdf71d5d93ed9b29b3e0f.tar.gz
hostap-aca4d84e3dcdb2cf7bacdf71d5d93ed9b29b3e0f.tar.bz2
DPP: Use wildcard BSSID in GAS query frames
Force use of the wildcard BSSID address in GAS query frames with DPP regardless of how the gas_address3 configuration parameter is set. DPP specification mandates this and the use of GAS here is really outside the context of a BSS, so using the wildcard BSSID makes sense even for the corner case of Configurator running on a known AP (where IEEE 802.11 standard would allow the BSSID of the AP to be used). Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/dpp_supplicant.c')
-rw-r--r--wpa_supplicant/dpp_supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index 3eb1872..9755ece 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -1418,7 +1418,7 @@ static void wpas_dpp_start_gas_client(struct wpa_supplicant *wpa_s)
MAC2STR(auth->peer_mac_addr), auth->curr_freq);
res = gas_query_req(wpa_s->gas, auth->peer_mac_addr, auth->curr_freq,
- buf, wpas_dpp_gas_resp_cb, wpa_s);
+ 1, buf, wpas_dpp_gas_resp_cb, wpa_s);
if (res < 0) {
wpa_msg(wpa_s, MSG_DEBUG, "GAS: Failed to send Query Request");
wpabuf_free(buf);