commit | 458f4f9e960b9a3b674c4b87d996eef186b1fe83 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Dec 06 15:47:38 2012 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Jan 03 13:01:29 2013 +0100 |
tree | febf655badc2a045b3aaaf63271226729c76e325 | |
parent | 379b82f4c9dc6e67bf61aa61b096c06a2f320f60 [diff] |
regulatory: use RCU to protect global and wiphy regdomains To simplify the locking and not require cfg80211_mutex (which nl80211 uses to access the global regdomain) and also to make it possible for drivers to access their wiphy->regd safely, use RCU to protect these pointers. Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>