projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaaba94
)
firmware-utils: mktplinkfw2: fix support for -w option
author
Rafał Miłecki
<rafal@milecki.pl>
Sun, 2 Jul 2017 20:28:24 +0000
(22:28 +0200)
committer
Rafał Miłecki
<rafal@milecki.pl>
Sun, 2 Jul 2017 20:31:13 +0000
(22:31 +0200)
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>
tools/firmware-utils/src/mktplinkfw2.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/mktplinkfw2.c
b/tools/firmware-utils/src/mktplinkfw2.c
index 14c5a492b76cbd46c68890278ce4496952a1a8e8..aa2e5cc2e461c3593d509bf92081cc74b9481010 100644
(file)
--- 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;
}