aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 2368b7f825a2..551161024756 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -1041,6 +1041,9 @@ static int __init init_mac80211_hwsim(void)
1041 break; 1041 break;
1042 } 1042 }
1043 1043
1044 /* give the regulatory workqueue a chance to run */
1045 if (regtest)
1046 schedule_timeout_interruptible(1);
1044 err = ieee80211_register_hw(hw); 1047 err = ieee80211_register_hw(hw);
1045 if (err < 0) { 1048 if (err < 0) {
1046 printk(KERN_DEBUG "mac80211_hwsim: " 1049 printk(KERN_DEBUG "mac80211_hwsim: "