]> git.baikalelectronics.ru Git - kernel.git/commit
regulatory: pass new regdomain to reset function
authorJohannes Berg <johannes.berg@intel.com>
Thu, 6 Dec 2012 14:44:07 +0000 (15:44 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:29 +0000 (13:01 +0100)
commit6d6fb6437bc9a5fd933075e0033714e8c4c6e3b9
tree4124d3f006f874f7dbfb75bf46437e9cd00d273e
parent8398c3ae7b095f0529a82c2eee157452b144a845
regulatory: pass new regdomain to reset function

Instead of assigning after calling the function do
it inside the function. This will later avoid a
period of time where the pointer is NULL.

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