]> git.itanic.dy.fi Git - linux-stable/commit
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:06:13 +0000 (12:06 +0100)
commit1202fc020465b67297f84dfc7127b83805082c69
tree82a2f8eae6f4673db7d0265d676d70713bc0524f
parentf64568e420e6b9b523611ef564941b83c7527614
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