From: Arik Nemtsov Date: Tue, 3 Jul 2012 06:00:18 +0000 (+0300) Subject: wlcore: don't set SDIO_FAILED flag when driver state is off X-Git-Tag: v3.6-rc1~125^2~57^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4455556d71951cfb6010e267efd00a52b63c2c20;p=pandora-kernel.git wlcore: don't set SDIO_FAILED flag when driver state is off If some IO read/write fails while the FW is not loaded, a recovery will not take place. This means the SDIO_FAILED flag will stay in place forever and prevent further read/writes. This can happen if a check for STATE_OFF was forgotten in some routine. Take this opportunity to rename the flag to IO_FAILED, since we support other buses as well. Reported-by: Ido Yariv Signed-off-by: Arik Nemtsov --- Reading git-diff-tree failed