]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Reload correct regdb if possible/needed
authorJohannes Berg <johannes.berg@intel.com>
Wed, 11 May 2022 13:09:06 +0000 (15:09 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 16 Sep 2022 18:13:20 +0000 (21:13 +0300)
commit6f844fa78783203f32badd8eb42a5fc88daa21ed
treed4b84b25045a5b5c27b0087b6d6af9a7e6b4eeb2
parent7ed17eee3adaf96ff2104aeb21554110c9654f9d
tests: Reload correct regdb if possible/needed

If cfg80211 is built into the kernel, then it may/will have
loaded the regdb before we mount our own /lib/firmware. This
may result in using the wrong regulatory data. Fix this by
using iw to reload the regdb after mounting it.

Fixes: a29c2399a77a ("tests: Add regulatory database to VMs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/vm/inside.sh