diff mbox series

[68/71] wpa_supplicant: Forward follow up SDFs to NAN module

Message ID 20260401220220.4418-69-andrei.otcheretianski@intel.com
State Accepted
Headers show
Series NAN Data Path and Bootstrapping support | expand

Commit Message

Andrei Otcheretianski April 1, 2026, 10:02 p.m. UTC
So in case a follow up SDF contains NPBA with type request
or type response, they could be processed in the NAN bootstrap
logic.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
---
 wpa_supplicant/nan_supplicant.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/wpa_supplicant/nan_supplicant.c b/wpa_supplicant/nan_supplicant.c
index 1185da7f53..1428adfc32 100644
--- a/wpa_supplicant/nan_supplicant.c
+++ b/wpa_supplicant/nan_supplicant.c
@@ -2761,6 +2761,10 @@  static void wpas_nan_de_receive(void *ctx, int id, int peer_instance_id,
 {
 	struct wpa_supplicant *wpa_s = ctx;
 
+	if (nan_process_followup(wpa_s->nan, peer_addr, buf, len,
+				 peer_instance_id, id))
+		return;
+
 	wpas_notify_nan_receive(wpa_s, id, peer_instance_id, peer_addr,
 				ssi, ssi_len);
 }