aboutsummaryrefslogtreecommitdiff
path: root/lib/rational.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez2013-11-05 09:18:13 -0800
committerJohannes Berg2013-11-25 20:51:28 +0100
commitdb0e066a986e025781dcd4c05dc4cf480ae884b6 (patch)
tree838bc7a9ae5d8eab4af33894e3ceb28c239c01a9 /lib/rational.c
parent0e3802dbfe53bc27a6bf019d022d743349a8d67d (diff)
cfg80211: pass the last_request to __set_regdom()
last_request is RCU protected, since we're getting it on set_regdom() we might as well pass it to ensure the same request is being processed, otherwise there is a small race it could have changed. This makes processing of the request atomic. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions