summaryrefslogtreecommitdiffstats
path: root/net/mac80211/chan.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2015-01-07 16:45:07 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-01-14 09:34:33 +0100
commit50075892ba30c4c19c41235b5308ee5a1e2125d7 (patch)
treef83c564dd090c586fe5936d35e063574204fcd73 /net/mac80211/chan.c
parent3b24f4c65386dc0f2efb41027bc6e410ea2c0049 (diff)
downloadlinux-50075892ba30c4c19c41235b5308ee5a1e2125d7.tar.bz2
mac80211: add TDLS supported channels correctly
The function adding the supported channels IE during a TDLS connection had several issues: 1. If the entire subband is usable, the function exitted the loop without adding it 2. The function only checked chandef_usable, ignoring flags like RADAR which would prevent TDLS off-channel communcation. 3. HT20 was explicitly required in the chandef, while not a requirement for TDLS off-channel. Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/chan.c')
0 files changed, 0 insertions, 0 deletions