commit | db8d99774c2682559b7648857697b9b588c6795a | [log] [tgz] |
---|---|---|
author | Arik Nemtsov <arik@wizery.com> | Wed Mar 02 23:28:31 2016 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Apr 05 10:50:32 2016 +0200 |
tree | 75e410079c8b0c7265f20965e7533a0f92b28fe2 | |
parent | c3732a7b37bca52bdd23aacde001f2038f9cb11a [diff] |
mac80211: TDLS: always downgrade invalid chandefs Even if the current chandef width is equal to the station's max-BW, it doesn't mean it's a valid width for TDLS. Make sure to always check regulatory constraints in these cases. Fixes: 0fabfaafec3a ("mac80211: upgrade BW of TDLS peers when possible") Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>