usb_modeswitch: count the target devices from zero
Most likely a typo here.
- Attachments
-
- 0002-usb_modeswitch-count-the-target-devices-from-zero.patch
- (878 Bytes) Downloaded 902 times
Re: usb_modeswitch: count the target devices from zero
Update for 2.5.2
- Attachments
-
- 0001-usb_modeswitch-count-the-target-devices-from-zero.patch
- [PATCH] usb_modeswitch: count the target devices from zero
- (847 Bytes) Downloaded 866 times
Re: usb_modeswitch: count the target devices from zero
What's counted here are seconds. The idea is to have two loops with waits, and to limit their combined waiting according to the CheckSuccess parameter.
Re: usb_modeswitch: count the target devices from zero
Uh, okay, my bad. Then i is possibly uninitialized though (when devh is unset).
- Attachments
-
- 0001-usb_modeswitch-fix-a-possible-uninitialized-loop-cou.patch
- (1.61 KiB) Downloaded 685 times
Re: usb_modeswitch: count the target devices from zero
You are of course right about the possible initialization failure so I will add the fix - and the comment, to avoid future confusion ...