]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:47 +0000 (08:50 -0400)
commit8e1682fddbd122a565965a83a5f8235e8bcadc10
tree38b5735a81a9e811df8c1709120dd8b899f7620d
parent444cf5487d5f51a3ecce2a0dfe237156290dfc7f
usb: hub: fix a typo in hub_port_init() leading to wrong logic

[ Upstream commit 0d5ce778c43bf888328231bcdce05d5c860655aa ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/usb/core/hub.c