Commit 8e1682fd authored by Oliver Neukum's avatar Oliver Neukum Committed by Sasha Levin
Browse files

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



[ Upstream commit 0d5ce778 ]

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: default avatarOliver Neukum <ONeukum@suse.com>
CC: stable@vger.kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 444cf548
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment