openwrt-redmi-ax3000/package/base-files/files/lib/functions
Shiji Yang 094b6f593f base-files: fix offset conversion on caldata_patch_data()
`$(( ))` will convert uninitialized variable to "0". If we want to
use "-n" to check the string length, it's necessary to make sure the
converted variable is not empty.

Fixes: 652a6677d5 ("base-files: Add new functions for ath11k caldata")
Fixes: https://github.com/openwrt/openwrt/issues/17818
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17892
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-13 00:26:23 +01:00
..
caldata.sh base-files: fix offset conversion on caldata_patch_data() 2025-02-13 00:26:23 +01:00
ipv4.sh
leds.sh
migrations.sh
network.sh
preinit.sh
service.sh
system.sh base-files: strip space and tab characters from ASCII mac address 2025-01-04 16:20:46 +01:00
uci-defaults.sh base-files: add ucidef_set_network_device_path_port function 2024-10-19 19:10:56 +02:00