miitool: Fix PHY argument handling
Instead of displaying the status of PHY "PHY" the tool will print status
of all PHYs it encounters while searching for the one that was
requested. This commit fixes the logic such that only requested
information is printed.

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 09c5601 commit 060e8590ee685b634e847a7b4152b12911c8dbe3
@Andrey Smirnov Andrey Smirnov authored on 31 Jan 2016
Sascha Hauer committed on 3 Feb 2016
Showing 1 changed file
View
commands/miitool.c