Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98dfaa57 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville
Browse files

mac80211_hwsim: let the reg workqueue breathe when regtest is set



Without this the regulatory domain isn't seen and we end up
intersecting for each request (each radio).

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9cb5412b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1041,6 +1041,9 @@ static int __init init_mac80211_hwsim(void)
			break;
		}

		/* give the regulatory workqueue a chance to run */
		if (regtest)
			schedule_timeout_interruptible(1);
		err = ieee80211_register_hw(hw);
		if (err < 0) {
			printk(KERN_DEBUG "mac80211_hwsim: "