lan78xx: Fix failure in USB Full Speed
authorYuiko Oshino <yuiko.oshino@microchip.com>
Mon, 15 Jan 2018 18:24:28 +0000 (13:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jan 2018 19:50:15 +0000 (14:50 -0500)
commita5b1379afbfabf91e3a689e82ac619a7157336b3
tree76052697b6d1226bc1db0b555d8b18fc8252c116
parent161f72ed6dbe7fb176585091d3b797125d310399
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>
drivers/net/usb/lan78xx.c