You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/lantiq
Adrian Schmutzler 0aab49d234 treewide: fix hex2dec conversion for MAC address checksum offset
If chksum_offset is converted by $(($...)) at the beginning, the
check [ -n "$chksum_offset" ] will always return true, as the
conversion yields "0" for an empty argument, and [ -n "0" ] is
true.

With this patch, the variable is not converted before the check,
but only when it's used in dd.

No conversion is done for use in hexdump, as this can deal with
hex value offsets.

Fixes: b133e466b0 ("treewide: convert WiFi caldata size and offset to hexadecimal")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
5 years ago
..
ase lantiq: drop kernel 4.14 support 5 years ago
base-files treewide: fix hex2dec conversion for MAC address checksum offset 5 years ago
falcon lantiq: drop kernel 4.14 support 5 years ago
files lantiq: unify Fritz!Box LED mappings 5 years ago
image lantiq: add device alias for Alpha ASL56026 5 years ago
patches-4.19 kernel: bump 4.19 to 4.19.62 5 years ago
xrx200 lantiq: drop kernel 4.14 support 5 years ago
xway lantiq: drop kernel 4.14 support 5 years ago
xway_legacy lantiq: drop kernel 4.14 support 5 years ago
Makefile lantiq: switch to kernel 4.19 5 years ago
config-4.19 lantiq: make patches apply 5 years ago
modules.mk fix i2c-lantiq module 12 years ago