mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
tools/firmware-utils: allow to create buffalo tags w/o hw version
SVN-Revision: 27472
This commit is contained in:
parent
1141165bb9
commit
ea6bc8858a
@ -97,7 +97,9 @@ static int check_params(void)
|
|||||||
CHECKSTR(major, "major version", TAG_VERSION_LEN);
|
CHECKSTR(major, "major version", TAG_VERSION_LEN);
|
||||||
CHECKSTR(minor, "minor version", TAG_VERSION_LEN);
|
CHECKSTR(minor, "minor version", TAG_VERSION_LEN);
|
||||||
CHECKSTR(language, "language", TAG_LANGUAGE_LEN);
|
CHECKSTR(language, "language", TAG_LANGUAGE_LEN);
|
||||||
CHECKSTR(hwver, "hardware version", 2);
|
|
||||||
|
if (hwver)
|
||||||
|
CHECKSTR(hwver, "hardware version", 2);
|
||||||
|
|
||||||
if (num_regions == 0) {
|
if (num_regions == 0) {
|
||||||
ERR("no region code specified");
|
ERR("no region code specified");
|
||||||
|
Loading…
Reference in New Issue
Block a user