From: Michal Kazior Date: Tue, 5 Aug 2014 12:54:44 +0000 (+0200) Subject: ath10k: introduce a stricter scan state machine X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~55^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c81c7fd62004be13a3c9345ca25607d14862cc4;p=pandora-kernel.git ath10k: introduce a stricter scan state machine This aims at fixing some rare scan bugs related to firmware reporting unexpected scan event sequences. One such bug was if spectral scan phyerr reporting prevented firmware from properly propagating scan events to host. This led to scan timeout. After that next scan would trigger scan completed event first (before scan started event) leading to ar->scan.in_progress and timeout timer states to be overwritten incorrectly and making the very next scan to hang forever. Reported-by: Janusz Dziedzic Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed