From f4d0d80e260fb2b2dd3c9a9c7409204407b9f069 Mon Sep 17 00:00:00 2001 From: Jakob Olsson <jakob.olsson@iopsys.eu> Date: Thu, 24 Apr 2025 09:53:15 +0000 Subject: [PATCH] ts: teardown if assoc frame does not have pvid and it was previously configured --- src/agent.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/agent.c b/src/agent.c index 20524ac56..d84322cca 100644 --- a/src/agent.c +++ b/src/agent.c @@ -3188,6 +3188,11 @@ static void wifi_sta_event_handler(void *c, struct blob_attr *msg) if (pvid) { agent_fill_8021q_setting(a, pvid, 0); agent_apply_traffic_separation(a); + } else if (pvid == 0 && a->pvid) { + /* traffic separation has been disabled + * unset if it was previously set + */ + agent_clear_traffic_sep(a); } free(frame); -- GitLab