From: Vladimir Kondratiev Date: Tue, 27 May 2014 11:45:45 +0000 (+0300) Subject: wil6210: limit fw error recovery attempts X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~99^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc219eed079eb0b11d93ed1adf4fa58f2b465215;p=pandora-kernel.git wil6210: limit fw error recovery attempts In case there is something fundamentally wrong with the firmware (example: RF cable disconnected), FW will always crash immediately after reset. This leads to infinite fw error recovery loop. Count consecutive unsuccessful error recovery attempts in a short period of time, and stop doing recovery after some reasonable count. It is still possible to manually reset fw doing interface down/up sequence. Signed-off-by: Vladimir Kondratiev Signed-off-by: John W. Linville --- Reading git-diff-tree failed