]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/reg.c
cfg80211: Stop calling crda if it is not responsive
authorIlan peer <ilan.peer@intel.com>
Mon, 30 Mar 2015 12:15:49 +0000 (15:15 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 1 Apr 2015 09:22:38 +0000 (11:22 +0200)
commitc37722bd1972118142ee54c0e1a727142d944068
tree6f07eb73e85fdc58258044610586726138f3a5ee
parent7bedd0cfad4e122bc0ddaf3fc955a38c88c95d35
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>
net/wireless/nl80211.c
net/wireless/reg.c
net/wireless/reg.h