aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-07-02 22:28:24 +0200
committerRafał Miłecki <rafal@milecki.pl>2017-07-02 22:31:13 +0200
commit896246b8c5835240de5dc72e6253b51528e69930 (patch)
treeb20f537f9fbb8e41f37be496913bf3f62bb976cb /tools
parenteaaba94bf641744ad5a4a6b3220d732c7045bd04 (diff)
downloadupstream-896246b8c5835240de5dc72e6253b51528e69930.tar.gz
upstream-896246b8c5835240de5dc72e6253b51528e69930.tar.bz2
upstream-896246b8c5835240de5dc72e6253b51528e69930.zip
firmware-utils: mktplinkfw2: fix support for -w option
This fixes copy & paste typo when reading -w argument. Fixes: 4b35e174caa5b ("firmware-utils: mktplinkfw2: support additional hardware version") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/mktplinkfw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src/mktplinkfw2.c
index 14c5a492b7..aa2e5cc2e4 100644
--- a/tools/firmware-utils/src/mktplinkfw2.c
+++ b/tools/firmware-utils/src/mktplinkfw2.c
@@ -428,7 +428,7 @@ static int check_options(void)
hw_rev = 1;
if (opt_hw_ver_add)
- hw_ver_add = strtoul(opt_hw_rev, NULL, 0);
+ hw_ver_add = strtoul(opt_hw_ver_add, NULL, 0);
else
hw_ver_add = 0;
}