usb: hub: fix a typo in hub_port_init() leading to wrong logic
Orabug:
23331090
[ 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>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
(cherry picked from commit
8e1682fddbd122a565965a83a5f8235e8bcadc10)
Conflict:
drivers/usb/core/hub.c