]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Refactor wnm_set_scan_freqs()
authorAvraham Stern <avraham.stern@intel.com>
Tue, 5 Aug 2025 15:13:16 +0000 (17:13 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 6 Oct 2025 17:38:38 +0000 (20:38 +0300)
commita1240bb10fb0f24554e745882402c8533d0d08d9
tree53a6fb5654aeaa7557e12c60346966c74a2bc98a
parentbbcc1adbc0de133a774e97a36823f21ef0245487
WNM: Refactor wnm_set_scan_freqs()

Use int_array_add_unique() instead of the dedicated add_freq(), which
now can be removed. This also allows removing some local variables
that are no longer needed.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Reviewed-by: Otcheretianski, Andrei <andrei.otcheretianski@intel.com>
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
wpa_supplicant/wnm_sta.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h