regulatory: use RCU to protect last_request
authorJohannes Berg <johannes.berg@intel.com>
Thu, 6 Dec 2012 15:29:25 +0000 (16:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:30 +0000 (13:01 +0100)
commitc492db370c17c428a0a58d3673294d4e99634b7d
treea350365e3cdb2f37c1249f6871eaeb36a811512b
parent458f4f9e960b9a3b674c4b87d996eef186b1fe83
regulatory: use RCU to protect last_request

This will allow making freq_reg_info() lock-free.

Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/regulatory.h
net/wireless/reg.c