usb: hub: fix a typo in hub_port_init() leading to wrong logic

commit 0d5ce778c4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oliver Neukum 2016-02-17 11:52:43 +01:00 • committed by Greg Kroah-Hartman
commit aa563cf3bc