Re: [PATCH 2/2] NET: cdc-phonet, handle empty phonet header

From: RÃmi Denis-Courmont
Date: Mon Mar 14 2011 - 03:49:15 EST


On Sunday 13 March 2011 18:54:31 ext Jiri Slaby, you wrote:
> Currently, for N 5800 XM I get:
> cdc_phonet: probe of 1-6:1.10 failed with error -22
>
> It's because phonet_header is empty. Extra altsetting looks like
> there:
> E 05 24 00 01 10 03 24 ab 05 24 06 0a 0b 04 24 fd .$....$..$....$.
> E 00 .
>
> I don't see the header used anywhere so just check if the phonet
> descriptor is there, not the structure itself.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Cc: RÃmi Denis-Courmont <remi.denis-courmont@xxxxxxxxx>
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>

Acked-by: RÃmi Denis-Courmont <remi.denis-courmont@xxxxxxxxx>

--
RÃmi Denis-Courmont
http://www.remlab.net/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/