diff options
author | Yuiko Oshino <yuiko.oshino@microchip.com> | 2018-01-15 13:24:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-16 14:50:15 -0500 |
commit | a5b1379afbfabf91e3a689e82ac619a7157336b3 (patch) | |
tree | 76052697b6d1226bc1db0b555d8b18fc8252c116 /drivers/net/usb/lan78xx.c | |
parent | 161f72ed6dbe7fb176585091d3b797125d310399 (diff) | |
download | blackbird-op-linux-a5b1379afbfabf91e3a689e82ac619a7157336b3.tar.gz blackbird-op-linux-a5b1379afbfabf91e3a689e82ac619a7157336b3.zip |
lan78xx: Fix failure in USB Full Speed
Fix initialize the uninitialized tx_qlen to an appropriate value when USB
Full Speed is used.
Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver")
Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/lan78xx.c')
-rw-r--r-- | drivers/net/usb/lan78xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 94c7804903c4..ec56ff29aac4 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c @@ -2396,6 +2396,7 @@ static int lan78xx_reset(struct lan78xx_net *dev) buf = DEFAULT_BURST_CAP_SIZE / FS_USB_PKT_SIZE; dev->rx_urb_size = DEFAULT_BURST_CAP_SIZE; dev->rx_qlen = 4; + dev->tx_qlen = 4; } ret = lan78xx_write_reg(dev, BURST_CAP, buf); |