Skip to content
Commit 1fac36ee authored by Dan Williams's avatar Dan Williams Committed by John W. Linville
Browse files

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: default avatarDan Williams <dcbw@redhat.com>
Tested-by: default avatarRyan Mallon <ryan@bluewatersys.com>
Acked-by: default avatarRyan Mallon <ryan@bluewatersys.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 07126127
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment