ipq40xx: hiwifi c526a: work-around soft reboot issues

Ref: openwrt/mt76/issues#316
However, that is a hardware bug of mt7615.
This commit is contained in:
AmadeusGhost 2021-04-19 11:10:02 +08:00
parent 1b76d7006b
commit f0983b56fc
2 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,14 @@
#!/bin/sh /etc/rc.common
STOP=60
stop() {
. /lib/functions.sh
case $(board_name) in
hiwifi,c526a|\
hiwifi,c526a-128m)
rmmod mt7615e
;;
esac
}

View File

@ -180,8 +180,8 @@ platform_do_upgrade() {
buffalo,wtr-m2133hp |\
century,wr142ac-nand |\
cilab,meshpoint-one |\
hiwifi,c526a|\
hiwifi,c526a-128m|\
hiwifi,c526a |\
hiwifi,c526a-128m |\
mobipromo,cm520-79f |\
qxwlan,e2600ac-c2)
nand_do_upgrade "$ARGV"