]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: hub: fix a typo in hub_port_init() leading to wrong logic
authorOliver Neukum <oneukum@suse.com>
Wed, 17 Feb 2016 10:52:43 +0000 (11:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Mar 2016 03:44:06 +0000 (19:44 -0800)
commit0d5ce778c43bf888328231bcdce05d5c860655aa
tree72d6104165b28735a0531ad528b6a5cfa09c6717
parentff075d670cbee4aa969d98298eaa23bc035d201a
usb: hub: fix a typo in hub_port_init() leading to wrong logic

A typo of j for i led to a logic bug. To rule out future
confusion, the variable names are made meaningful.

Signed-off-by: Oliver Neukum <ONeukum@suse.com>
CC: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c