diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8712/usb_ops_linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rtl8712/usb_ops_linux.c b/drivers/staging/rtl8712/usb_ops_linux.c index c97330f82b88..e89d2b07fcb9 100644 --- a/drivers/staging/rtl8712/usb_ops_linux.c +++ b/drivers/staging/rtl8712/usb_ops_linux.c @@ -216,6 +216,7 @@ static void r8712_usb_read_port_complete(struct urb *purb) 0, (unsigned char *)precvbuf); } else { _pkt *pskb = precvbuf->pskb; + skb_put(pskb, purb->actual_length); skb_queue_tail(&precvpriv->rx_skb_queue, pskb); tasklet_hi_schedule(&precvpriv->recv_tasklet); |