From: Michal Kazior Date: Wed, 29 Jan 2014 13:22:27 +0000 (+0100) Subject: cfg80211: consider existing DFS interfaces X-Git-Tag: v3.15-rc1~113^2~289^2^2~101^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e0e29615a2077be852b1245b57c5b00fa609522;p=pandora-kernel.git cfg80211: consider existing DFS interfaces It was possible to break interface combinations in the following way: combo 1: iftype = AP, num_ifaces = 2, num_chans = 2, combo 2: iftype = AP, num_ifaces = 1, num_chans = 1, radar = HT20 With the above interface combinations it was possible to: step 1. start AP on DFS channel by matching combo 2 step 2. start AP on non-DFS channel by matching combo 1 This was possible beacuse (step 2) did not consider if other interfaces require radar detection. The patch changes how cfg80211 tracks channels - instead of channel itself now a complete chandef is stored. Signed-off-by: Michal Kazior Signed-off-by: Johannes Berg --- Reading git-diff-tree failed