projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea9bce
)
regulatory: simplify regulatory_hint_11d
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 3 Dec 2012 16:21:26 +0000
(17:21 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:21 +0000
(13:01 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/reg.c
b/net/wireless/reg.c
index 1496a10da63800b0098782ff40b6412dc148a12a..cd99d285e8d85da929b346d4c82128e71cf1de74 100644
(file)
--- a/
net/wireless/reg.c
+++ b/
net/wireless/reg.c
@@
-1825,12
+1825,7
@@
void regulatory_hint_11d(struct wiphy *wiphy,
request->initiator = NL80211_REGDOM_SET_BY_COUNTRY_IE;
request->country_ie_env = env;
- mutex_unlock(®_mutex);
-
queue_regulatory_request(request);
-
- return;
-
out:
mutex_unlock(®_mutex);
}