From 85ea5f3496d831fde3c2e1bbbe3013d1045a7d34 Mon Sep 17 00:00:00 2001 From: Aditya Kumar Singh Date: Thu, 28 Mar 2024 23:46:34 +0530 Subject: [PATCH] nl80211: Send link_id on sta_deauth() i802_sta_deauth() already has the link_id passed to it in its arguments. Use that to pass it down to send MLME handler as well. Signed-off-by: Aditya Kumar Singh --- src/drivers/driver_nl80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 2e0f06c70..bf38eea68 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -8249,7 +8249,7 @@ static int i802_sta_deauth(void *priv, const u8 *own_addr, const u8 *addr, return wpa_driver_nl80211_send_mlme(bss, (u8 *) &mgmt, IEEE80211_HDRLEN + sizeof(mgmt.u.deauth), 0, 0, 0, 0, - 0, NULL, 0, 0, -1); + 0, NULL, 0, 0, link_id); }