From 59235827c430c1c874d4a361fe6adb8c0f538b97 Mon Sep 17 00:00:00 2001 From: bol-van Date: Tue, 24 Feb 2026 10:10:52 +0300 Subject: [PATCH] nfqws2: fix broken wifi ssid update --- docs/changes.txt | 1 + nfq2/darkmagic.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index adf7086..e5ec030 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -253,3 +253,4 @@ v0.9.4.2 * builder_linux: simple scripts to build static linux bins for any supported architecture * zapret-auto: incompatible change. cond_lua "code" parameter => "cond_code". to avoid collision with luaexec +* nfqws2: fix broken wifi ssid update diff --git a/nfq2/darkmagic.c b/nfq2/darkmagic.c index 273a857..1528c7e 100644 --- a/nfq2/darkmagic.c +++ b/nfq2/darkmagic.c @@ -2244,6 +2244,7 @@ static bool scan_info(struct mnl_socket* nl, uint16_t wlan_family_id, struct wla // wlan_info does not return ssid since kernel 5.19 // it's used to enumerate all wifi interfaces then call scan_info on each if (!wlan_info(nl, wlan_family_id, &wc_all, false)) return false; + w->count=0; for(int i=0;i