diff options
author | Arik Nemtsov <arik@wizery.com> | 2015-01-07 17:45:07 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-14 11:34:33 +0300 |
commit | 50075892ba30c4c19c41235b5308ee5a1e2125d7 (patch) | |
tree | f83c564dd090c586fe5936d35e063574204fcd73 /net/mac80211/scan.c | |
parent | 3b24f4c65386dc0f2efb41027bc6e410ea2c0049 (diff) | |
download | linux-50075892ba30c4c19c41235b5308ee5a1e2125d7.tar.xz |
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/scan.c')
0 files changed, 0 insertions, 0 deletions