diff options
author | Ilan peer <ilan.peer@intel.com> | 2015-03-30 15:15:49 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-04-01 11:22:38 +0200 |
commit | c37722bd1972118142ee54c0e1a727142d944068 (patch) | |
tree | 6f07eb73e85fdc58258044610586726138f3a5ee /net/wireless/nl80211.c | |
parent | 7bedd0cfad4e122bc0ddaf3fc955a38c88c95d35 (diff) | |
download | op-kernel-dev-c37722bd1972118142ee54c0e1a727142d944068.zip op-kernel-dev-c37722bd1972118142ee54c0e1a727142d944068.tar.gz |
cfg80211: Stop calling crda if it is not responsive
Patch eeca9fce1d71a4955855ceb0c3b13c1eb9db27c1 (cfg80211: Schedule
timeout for all CRDA call) introduced a regression, where in case
that crda is not installed (or not configured properly etc.), the
regulatory core will needlessly continue to call it, polluting the
log with the following log:
"cfg80211: Calling CRDA to update world regulatory domain"
Fix this by limiting the number of continuous CRDA request failures.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 6dd1ab3..dd78445 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -5664,7 +5664,7 @@ static int nl80211_set_reg(struct sk_buff *skb, struct genl_info *info) } } - r = set_regdom(rd); + r = set_regdom(rd, REGD_SOURCE_CRDA); /* set_regdom took ownership */ rd = NULL; |