aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/wireless/nl80211.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 7880a9c4cdda..283f1a890dad 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -4517,10 +4517,10 @@ void nl80211_send_reg_change_event(struct regulatory_request *request)
4517 return; 4517 return;
4518 } 4518 }
4519 4519
4520 rtnl_lock(); 4520 rcu_read_lock();
4521 genlmsg_multicast_allns(msg, 0, nl80211_regulatory_mcgrp.id, 4521 genlmsg_multicast_allns(msg, 0, nl80211_regulatory_mcgrp.id,
4522 GFP_KERNEL); 4522 GFP_ATOMIC);
4523 rtnl_unlock(); 4523 rcu_read_unlock();
4524 4524
4525 return; 4525 return;
4526 4526