diff options
author | Arik Nemtsov <arik@wizery.com> | 2014-12-15 19:26:02 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-12-17 11:49:55 +0100 |
commit | db8dfee57d37d2cd14a750477babbae52b69a494 (patch) | |
tree | 6d52011ec10a6891b45886df8e00983d75a773cd /net/mac80211/mlme.c | |
parent | 1bdd716cbccabc8127fbbaaa663c3090302ef78b (diff) |
cfg80211: avoid intersection when applying self-managed reg
The custom-reg handling function can currently only add flags to a given
channel. This results in stale flags being left applied. In some cases
a channel was disabled and even the orig_flags were changed to reflect
this.
Previously the API was designed for a single invocation before wiphy
registration, so this didn't matter. The previous approach doesn't scale
well to self-managed regulatory devices, particularly when a more
permissive regdom is applied after a restrictive one.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
0 files changed, 0 insertions, 0 deletions