Permalink
Browse files

Fix Async. (disabled)

  • Loading branch information...
1 parent 351715f commit f179605ee699c2de69a2b208305693322fecdc4e John Greb committed Feb 20, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 source/drivers/net/wireless/rtlwifi/usb.c
@@ -73,7 +73,9 @@ static int _usbctrl_vendorreq_async_write(struct usb_device *udev, u8 request,
struct usb_ctrlrequest *dr;
struct urb *urb;
struct rtl819x_async_write_data {
- u8 data[REALTEK_USB_VENQT_MAX_BUF_SIZE];
+ u8 data[REALTEK_USB_VENQT_MAX_BUF_SIZE
+/* www.mail-archive.com/stable@vger.kernel.org/msg31569.html */
+ + 2 ];
struct usb_ctrlrequest dr;
} *buf;

3 comments on commit f179605

Just an idea.. maybe Rasberry has similiar problem with usb controller driver as sunxi and needs workaround for non-aligned buffers that are to be DMA mapped. See linux-sunxi/linux-sunxi@0253717

Owner

hexameron replied Feb 23, 2013

Owner

hexameron replied Feb 23, 2013

Please sign in to comment.