]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Guard against survey list not being initialized
authorBenjamin Berg <benjamin.berg@intel.com>
Fri, 21 Nov 2025 10:05:52 +0000 (11:05 +0100)
committerJouni Malinen <j@w1.fi>
Mon, 26 Jan 2026 17:24:26 +0000 (19:24 +0200)
commite76b66c2630ac1de77cd589c7a35cda4914cd288
treeeec6f7d0ee889a40d40d9a72a5608fb234db34b4
parentd422b5ad51177a52a4c4b1c8de3c1cb5c7304a45
AP: Guard against survey list not being initialized

Do not try to store survey information in the unusual event that the
channels survey_list is not initialized. That should not usually happen,
but could, e.g., be the case if the regulatory changes and new channels
are added after the ACS scan was started.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/ap/drv_callbacks.c