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)
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

Simple merge