From: Paul Fox Date: Fri, 29 Oct 2010 13:57:28 +0000 (+0100) Subject: libertas: Fix sd8686 firmware reload X-Git-Tag: v2.6.37-rc1~32^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=731b2034999bbfe86c9074f1b0d611940bf7c323;p=pandora-kernel.git libertas: Fix sd8686 firmware reload For the SD8686, we cannot rely on the scratch register to read the firmware load status, because the same register is used for storing RX packet length. Broaden the check to account for this. The module can now be unloaded/reloaded successfully. Based on the implementation from libertas_tf. Signed-off-by: Daniel Drake Acked-by: Dan Williams Signed-off-by: Steve deRosier Signed-off-by: John W. Linville --- Reading git-diff-tree failed