aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ibss_rsn.c
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2020-02-24 09:14:27 (GMT)
committerJouni Malinen <j@w1.fi>2020-02-29 21:03:20 (GMT)
commitc4988e73c09be168c060eec75e5a6834c89dcf58 (patch)
tree58dbf70e3778c7d68403bec919239666dc15049d /wpa_supplicant/ibss_rsn.c
parentd046f2a9f93691215ed112080abd0954557cd90c (diff)
downloadhostap-c4988e73c09be168c060eec75e5a6834c89dcf58.zip
hostap-c4988e73c09be168c060eec75e5a6834c89dcf58.tar.gz
hostap-c4988e73c09be168c060eec75e5a6834c89dcf58.tar.bz2
driver: Extend send_mlme() with wait option
PASN authentication can be performed while a station interface is connected to an AP. To allow sending PASN frames while connected, extend the send_mlme() driver callback to also allow a wait option. Update the relevant drivers and wpa_supplicant accordingly. hostapd calls for send_mlme() are left unchanged, since the wait option is not required there. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'wpa_supplicant/ibss_rsn.c')
-rw-r--r--wpa_supplicant/ibss_rsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/ibss_rsn.c b/wpa_supplicant/ibss_rsn.c
index ea909a9..02e6390 100644
--- a/wpa_supplicant/ibss_rsn.c
+++ b/wpa_supplicant/ibss_rsn.c
@@ -520,7 +520,7 @@ static int ibss_rsn_send_auth(struct ibss_rsn *ibss_rsn, const u8 *da, int seq)
wpa_printf(MSG_DEBUG, "RSN: IBSS TX Auth frame (SEQ %d) to " MACSTR,
seq, MAC2STR(da));
- return wpa_drv_send_mlme(wpa_s, (u8 *) &auth, auth_length, 0, 0);
+ return wpa_drv_send_mlme(wpa_s, (u8 *) &auth, auth_length, 0, 0, 0);
}