[PATCH 04/22] hostapd: MLO: send link_id on sta_deauth()
Aditya Kumar Singh
quic_adisi at quicinc.com
Thu Mar 28 11:16:34 PDT 2024
Function i802_sta_deauth() already has the link_id passed to it in its
arguments. Use that to pass it down to send mlme handler.
Signed-off-by: Aditya Kumar Singh <quic_adisi at quicinc.com>
---
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 98948bfb1a76..e5fa22b59f67 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -8254,7 +8254,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);
}
--
2.25.1
More information about the Hostap
mailing list