]> 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)
commitbec0078b34d7417fef7c61e54188db1249d365db
treedbe2e22cd66e684c7bd4128ef140de44ce275952
parent06d0d55ccf5ae1ead469e42144573ad229dd7604
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