regulatory: simplify regulatory_hint_11d
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Dec 2012 16:21:26 +0000 (17:21 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:21 +0000 (13:01 +0100)
commit75e2dba866706ab9b133983b7fd9a6297b24c22d
treec70a293c7e51230616afa3bef62a106a39e0d514
parentfea9bcedce2d0c751d4f31155f4634689d46166e
regulatory: simplify regulatory_hint_11d

There's no need to unlock before calling
queue_regulatory_request(), so simplify
the function.

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