Re: [PATCH] usb: cdc_ether: Ignore bogus union descriptor for RNDIS devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bjørn Mork <bjorn@xxxxxxx> writes:
> Iker Salmón San Millán <shaola@xxxxxxxxxxxx> writes:
>
>> Sorry, but didn't work, same dmesg with bad cdc descriptors and usb0
>> interface is not created.
>> I tested with 3.2.0-rc7 kernel.
>
> OK, thanks for testing.  I must have missed some finer detail somewhere.

Pretty obvious detail:  The next if() will fail since info->control is
NULL and therefore != intf.  

Could be fixed by e.g. setting info->control = intf inside the 
if (rndis) {} section if you have the patience to test yet-another-patch.


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux