[PATH] libertas: speeds up downloading of CF firmware

Holger Schurig hs4233 at mail.mn-solutions.de
Fri May 23 07:26:31 EDT 2008


> That changes the return value.  Although it doesn't matter
> since all callers only check for < 0, it should perhaps be
> changed to return 0 here to avoid confusion.

You're right, the function returns now different things. But no 
caller cares for the different return value, therefore the code 
is correct as it is.

I actually used the return value to find out how many loops 
usually are needed to program, and found that I wait way to long 
in usleep() function.



More information about the libertas-dev mailing list