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

From: David Miller
Date: Mon Mar 14 2011 - 18:23:56 EST


From: "Rémi Denis-Courmont" <remi.denis-courmont@xxxxxxxxx>
Date: Mon, 14 Mar 2011 09:49:04 +0200

> 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>

Also applied, thanks.
--
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/