]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: avoid reg-hints in self-managed only systems
authorArik Nemtsov <arik@wizery.com>
Wed, 7 Jan 2015 14:47:20 +0000 (16:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jan 2015 08:43:44 +0000 (09:43 +0100)
commit4ecec9d09cdbfb4a50ff9ed39b37d316d6fa9e59
treedbe2e22cd66e684c7bd4128ef140de44ce275952
parent1ab04088d689c99873946bed8b9090282a45800a
cfg80211: avoid reg-hints in self-managed only systems

When a system contains only self-managed regulatory devices all hints
from the regulatory core are ignored. Stop hint processing early in this
case. These systems usually don't have CRDA deployed, which results in
endless (irrelevent) logs of the form:
cfg80211: Calling CRDA to update world regulatory domain

Make sure there's at least one self-managed device before discarding a
hint, in order to prevent initial hints from disappearing on CRDA
managed systems.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c