Revert "nfqws: fix broken wifi ssid update"

This reverts commit 7eb195e533.
This commit is contained in:
bol-van
2026-02-24 10:11:45 +03:00
parent 7eb195e533
commit 61edd29b7e
4 changed files with 5 additions and 8 deletions

View File

@@ -2096,7 +2096,6 @@ 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<wc_all.count;i++)
if (!netlink_genl_simple_transact(nl, wlan_family_id, NLM_F_REQUEST | NLM_F_ACK | NLM_F_DUMP, NL80211_CMD_GET_SCAN, 0, scan_prepare, (void*)&wc_all.wlan[i].ifindex, scan_info_cb, w))
return false;