r174 - unstable/rt73/debian/patches
Ben Hutchings
benh at alioth.debian.org
Tue Apr 14 12:54:22 UTC 2009
Author: benh
Date: 2009-04-14 00:54:22 +0000 (Tue, 14 Apr 2009)
New Revision: 174
Added:
unstable/rt73/debian/patches/007_fix_max_usb_packet_size.diff
Modified:
unstable/rt73/debian/patches/series
Log:
Fix lookup of max USB packet size (closes: bug#516519)
Added: unstable/rt73/debian/patches/007_fix_max_usb_packet_size.diff
===================================================================
--- unstable/rt73/debian/patches/007_fix_max_usb_packet_size.diff (rev 0)
+++ unstable/rt73/debian/patches/007_fix_max_usb_packet_size.diff 2009-04-14 00:54:22 UTC (rev 174)
@@ -0,0 +1,14 @@
+Fix lookup of max USB packet size (closes: bug#516519)
+
+--- rt73-1.0.3.6-cvs20080623-dfsg1.orig/Module/rtmp_main.c
++++ rt73-1.0.3.6-cvs20080623-dfsg1/Module/rtmp_main.c
+@@ -2251,7 +2251,8 @@
+ endpoint = &iface_desc->endpoint[i].desc;
+
+ /* get Max Packet Size from endpoint */
+- pAd->BulkOutMaxPacketSize = (USHORT)endpoint->wMaxPacketSize;
++ pAd->BulkOutMaxPacketSize =
++ usb_maxpacket(dev, usb_sndbulkpipe(dev, 1), true);
+ DBGPRINT(RT_DEBUG_TRACE, "BulkOutMaxPacketSize %d\n", pAd->BulkOutMaxPacketSize);
+
+ }
Modified: unstable/rt73/debian/patches/series
===================================================================
--- unstable/rt73/debian/patches/series 2009-04-14 00:15:18 UTC (rev 173)
+++ unstable/rt73/debian/patches/series 2009-04-14 00:54:22 UTC (rev 174)
@@ -5,3 +5,4 @@
004_use_netdev_ml_priv.diff
005_use_kill_pid.diff
006_iwe_stream_update.diff
+007_fix_max_usb_packet_size.diff
More information about the Pkg-ralink-commits
mailing list