Bug#516519: rt73-modules-2.6.26-1-amd64: rt73 oopses kernel when used with WUSB54GC
Ben Hutchings
ben at decadent.org.uk
Sun Mar 8 23:40:06 UTC 2009
On Sun, 2009-03-08 at 22:50 +0000, Ben Hutchings wrote:
> I have not been able to reproduce this bug but have identified a likely
> source. Please can you test this fix for me:
>
> Change line 2251 of rtmp_main.c from:
> endpoint = &iface_desc->endpoint[i].desc;
> to:
> endpoint = &iface_desc->endpoint[1].desc;
On second thoughts, I don't believe that is correct either, though it
may work in practice. Instead, please try changing line 2254 from:
pAd->BulkOutMaxPacketSize = (USHORT)endpoint->wMaxPacketSize;
to:
pAd->BulkOutMaxPacketSize = usb_maxpacket(dev, usb_sndbulkpipe(dev, 1), true);
Ben.
--
Ben Hutchings
If the facts do not conform to your theory, they must be disposed of.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-ralink-maintainers/attachments/20090308/8f77f33b/attachment.pgp
More information about the Pkg-ralink-maintainers
mailing list