openwrt/target/linux/bcm4908
Sungbo Eo 4607f55439 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>
(cherry picked from commit f432353850)
2021-11-05 14:13:46 +01:00
..
base-files bcm4908: fix calculation of new cferam index 2021-11-05 14:13:46 +01:00
files-5.4/drivers/net/ethernet/broadcom bcm4908: add Ethernet driver 2021-02-08 11:49:21 +01:00
generic bcm4908: initial work on the Broadcom BCM4908 target 2021-01-12 21:10:51 +01:00
image bcm4908: enable Netgear R8000P bootloader image 2021-04-08 13:16:14 +02:00
patches-5.4 kernel: bump 5.4 to 5.4.150 2021-10-02 16:05:34 +02:00
config-5.4 bcm4908: enable JFFS2 support 2021-04-08 13:16:12 +02:00
Makefile bcm4908: add kmod-gpio-button-hotplug 2021-06-22 08:38:59 +02:00