firmware-utils: mktplinkfw2: fix support for -w option
This fixes copy & paste typo when reading -w argument.
Fixes: 4b35e174ca
("firmware-utils: mktplinkfw2: support additional hardware version")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
eaaba94bf6
commit
896246b8c5
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ static int check_options(void)
|
||||||
hw_rev = 1;
|
hw_rev = 1;
|
||||||
|
|
||||||
if (opt_hw_ver_add)
|
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
|
else
|
||||||
hw_ver_add = 0;
|
hw_ver_add = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue