projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d34c1
)
p54usb: fix random traffic stalls (LM87)
author
Christian Lamparter
<chunkeey@web.de>
Sat, 20 Dec 2008 01:21:56 +0000
(
02:21
+0100)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:52 +0000
(14:24 -0500)
All LM87 firmwares need a explicit termination "packet",
in oder to finish the pending transfer properly.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54usb.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/p54/p54usb.c
b/drivers/net/wireless/p54/p54usb.c
index
8f5c063
..
6a6a72f
100644
(file)
--- a/
drivers/net/wireless/p54/p54usb.c
+++ b/
drivers/net/wireless/p54/p54usb.c
@@
-285,6
+285,7
@@
static void p54u_tx_lm87(struct ieee80211_hw *dev, struct sk_buff *skb)
usb_fill_bulk_urb(data_urb, priv->udev,
usb_sndbulkpipe(priv->udev, P54U_PIPE_DATA),
skb->data, skb->len, p54u_tx_cb, skb);
+ data_urb->transfer_flags |= URB_ZERO_PACKET;
usb_anchor_urb(data_urb, &priv->submitted);
if (usb_submit_urb(data_urb, GFP_ATOMIC)) {