]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Don't try to scan on AP interface with active links
authorIlan Peer <ilan.peer@intel.com>
Fri, 18 Jul 2025 11:00:59 +0000 (13:00 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 3 Oct 2025 10:38:21 +0000 (13:38 +0300)
commitc7930eae3b1ceab5fce9c30a3e46c97f4c72938e
tree76b964729b49f2ebf8161371149a5637e0c22b8a
parentecbb1cbebc66acdff4bd493622940ed3f92d3502
nl80211: Don't try to scan on AP interface with active links

When the kernel driver doesn't support scanning on an AP interface,
nl80211 drivers attempts to switch to station interface to perform a
scan. However, when the AP is affiliated with an AP MLD and there are
already active links this is not valid. In such a case, fail the scan.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
src/drivers/driver_nl80211_scan.c