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:
parent
1b76d7006b
commit
f0983b56fc
14
target/linux/ipq40xx/base-files/etc/init.d/mt7615_reboot
Executable file
14
target/linux/ipq40xx/base-files/etc/init.d/mt7615_reboot
Executable 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
|
||||
}
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user