rkagan at mail.ru
Mon Feb 21 08:43:08 EST 2005
On Mon, Feb 21, 2005 at 01:26:01PM +0000, David Woodhouse wrote:
> On Mon, 2005-02-21 at 16:18 +0300, Roman Kagan wrote:
> >So there are 3 ways to handle this situation:
> > 1) leave it as it is, and expect people to use recent firmware;
> > 2) make the driver stop polling the modem after several, say 10,
> > consecutive failures;
> > 3) add a workaround to the driver to make it parse the old firmware
> > responses too.
> >Naturally I'd prefer 1) as I wouldn't have to do anything but I'd like
> >to know other opinions too.
> Doesn't sound like (3) would be hard.
Frankly, I don't even know how to do it :) I don't immediately see a
way to distinguish between a (0, 0) index-value pair and the zero
padding in the packets containing less than 7 index-value pairs, when
the number of them in the current packet is unknown.
More information about the Usbatm