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 11:55:54 +0000 (12:55 +0100)
commit283498b4ca3534777cd28d17ebffd2e8f3fb0716
treefd5848405b13e19fb6a1e50d9b6843260136a81f
parentc2ceff11b46e6eed2a3138811864aaa645754127
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