forked from Minki/linux
40d24c4d8a
There are two issue here.
1) cnt starts as maxloop + 1 so all these loops iterate one more time
than intended.
2) At the end of the loop we test for "if (maxloop && !cnt)" but for
the first two loops, we end with cnt equal to -1. Changing this to
a pre-op means we end with cnt set to 0.
Fixes:
|
||
---|---|---|
.. | ||
avmfritz.c | ||
hfc_multi_8xx.h | ||
hfc_multi.h | ||
hfc_pci.h | ||
hfcmulti.c | ||
hfcpci.c | ||
hfcsusb.c | ||
hfcsusb.h | ||
iohelper.h | ||
ipac.h | ||
isar.h | ||
Kconfig | ||
Makefile | ||
mISDNinfineon.c | ||
mISDNipac.c | ||
mISDNisar.c | ||
netjet.c | ||
netjet.h | ||
speedfax.c | ||
w6692.c | ||
w6692.h |