Search Linux Wireless

Re: [PATH] libertas: speeds up downloading of CF firmware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux