]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulatory: fix uevent
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jan 2013 09:22:07 +0000 (10:22 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jan 2013 11:19:43 +0000 (12:19 +0100)
commit4a484cffc5e1836114e9556f7c704412d491200c
treedb228d48bc1c0b8244892d2a329b514da167f339
parentc51f878379b1d0677619798b1d9358d053bdbdb1
regulatory: fix uevent

The uevent callback doesn't protect its access to
last_request, which now causes a warning since
the conversion to get_last_request(). Fix this by
allowing to use RCU protection for last_request.

Reported-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c