From: Dan Williams Date: Fri, 23 Jan 2009 16:55:33 +0000 (-0500) Subject: libertas: fix CF firmware loading for some cards X-Git-Tag: v2.6.30-rc1~662^2~836^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fac36ee7d5a0611e1216b02b485b154c8aa6dad;p=pandora-kernel.git libertas: fix CF firmware loading for some cards if_cs_poll_while_fw_download() returned the number of iterations remaining on success, which in turn got returned as the value from if_cs_prog_real() and if_cs_prog_helper(). But since if_cs_probe() interprets non-zero return values from firmware load functions as an error, this sometimes caused spurious firmware load failures. Signed-off-by: Dan Williams Tested-by: Ryan Mallon Acked-by: Ryan Mallon Signed-off-by: John W. Linville --- Reading git-diff-tree failed