Files
openwrt-R7800-nss/target/linux
Sungbo Eo f432353850 bcm4908: fix calculation of new cferam index
The arithmetic expansion fails when idx becomes a two digit number.
Fix this by relying on expr command.

root@OpenWrt:/# echo $(((028 + 0) % 1000))
/bin/ash: arithmetic syntax error
root@OpenWrt:/# echo $(($(expr 028 + 0) % 1000))
28

Fixes: a6a0b252ba ("bcm4908: add sysupgrade support")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2021-11-04 15:52:03 +01:00
..
2021-10-21 00:17:36 +02:00
2021-10-21 17:38:17 +02:00
2021-10-21 00:17:36 +02:00
2021-10-21 00:17:36 +02:00
2021-11-03 12:45:40 +01:00
2021-10-09 18:44:55 +02:00
2021-10-22 22:12:24 +02:00
2021-10-02 18:13:46 +02:00
2021-10-30 21:17:20 +02:00
2021-10-30 21:17:20 +02:00
2021-10-18 21:32:36 +02:00
2021-10-21 00:17:36 +02:00