From: Ashok Nagarajan Date: Fri, 8 Mar 2013 18:58:45 +0000 (-0800) Subject: mwifiex: Trigger a card reset on reaching tx_timeout threshold X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~390^2^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8908c7d5392671610a2d80107845d4aeee92d9c1;p=pandora-kernel.git mwifiex: Trigger a card reset on reaching tx_timeout threshold tx_timeout doesn't always lead to a cmd_timeout. There are occurrences where cmd_timeout never gets triggered for a long time and we encounter a kernel crash. In this patch, we track the consecutive timeouts (tx_timeout_cnt). When tx_timeout_cnt exceeds the threshold, trigger a card reset thereby avoiding a kernel crash. Signed-off-by: Ashok Nagarajan Signed-off-by: Paul Stewart Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed