From: Michal Kazior Date: Thu, 5 Mar 2015 14:02:17 +0000 (+0200) Subject: ath10k: fix AP/IBSS CSA with template based fw X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~34^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81a9a17db5d766d2872c4ab8a77b8666d22031ec;p=pandora-kernel.git ath10k: fix AP/IBSS CSA with template based fw qca6174 with wmi-tlv firmware uses offloaded beaconing scheme (i.e. templates). This requires a little different approach when implementing CSA. Add missing code to update CS count and report CSA completion to mac80211. Without it channel switch was never finished. To avoid races during interface teardown data_lock has been used to protect is_up and is_started so they can be compared against before scheduling count down work. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed