mac80211: TDLS: don't require beaconing for AP BW
authorArik Nemtsov <arik@wizery.com>
Mon, 29 Aug 2016 09:37:35 +0000 (12:37 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 30 Aug 2016 06:03:41 +0000 (08:03 +0200)
commit554d072e7bc3e56de5893c8181110a547b2062c9
tree5c71c6fb6286dd002501b9180e72be8364e80eb2
parent4d0bd46a4d55383f7b925e6cf7865a77e0f0e020
mac80211: TDLS: don't require beaconing for AP BW

Stop downgrading TDLS chandef when reaching the AP BW. The AP provides
the necessary regulatory protection in this case.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=153961, which
reported an infinite loop here.

Reported-by: Kamil Toman <kamil.toman@gmail.com>
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c