From: Arik Nemtsov Date: Wed, 7 Jan 2015 14:45:07 +0000 (+0200) Subject: mac80211: add TDLS supported channels correctly X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~206^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50075892ba30c4c19c41235b5308ee5a1e2125d7;p=pandora-kernel.git 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 Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed