projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7406353
)
cfg80211: don't set reg timeout for user-handled hint
author
Arik Nemtsov
<
[email protected]
>
Sun, 11 May 2014 08:50:44 +0000
(11:50 +0300)
committer
Johannes Berg
<
[email protected]
>
Wed, 21 May 2014 07:15:18 +0000
(09:15 +0200)
Otherwise every "indoor" setting by usermode will cause a regdomain reset.
Acked-by: Luis R. Rodriguez <
[email protected]
>
Signed-off-by: Arik Nemtsov <
[email protected]
>
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
Signed-off-by: Johannes Berg <
[email protected]
>
net/wireless/reg.c
patch
|
blob
|
history
diff --git
a/net/wireless/reg.c
b/net/wireless/reg.c
index e78f532aaa5b386f862f2679c006382f983e4fe0..558b0e3a02d8284c49de58d14833c13b444db5a2 100644
(file)
--- a/
net/wireless/reg.c
+++ b/
net/wireless/reg.c
@@
-1876,7
+1876,8
@@
static void reg_process_hint(struct regulatory_request *reg_request)
case NL80211_REGDOM_SET_BY_USER:
treatment = reg_process_hint_user(reg_request);
if (treatment == REG_REQ_IGNORE ||
- treatment == REG_REQ_ALREADY_SET)
+ treatment == REG_REQ_ALREADY_SET ||
+ treatment == REG_REQ_USER_HINT_HANDLED)
return;
queue_delayed_work(system_power_efficient_wq,
®_timeout, msecs_to_jiffies(3142));