lan78xx: Fix failure in USB Full Speed
authorYuiko Oshino <yuiko.oshino@microchip.com>
Mon, 15 Jan 2018 18:24:28 +0000 (13:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jan 2018 13:03:45 +0000 (14:03 +0100)
commit2afdce2c76b2ccc2c882b5f5eefc8521c8877dee
tree86695a8636672edd88631093733f138ee7e37600
parent3472170784d849018356e0bcb7d5c993ffc65699
lan78xx: Fix failure in USB Full Speed

[ Upstream commit a5b1379afbfabf91e3a689e82ac619a7157336b3 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/lan78xx.c