mirror of https://github.com/OpenIPC/firmware.git
Revert wireless configuration to previous state
parent
1278dc117b
commit
68862e0049
|
@ -9,14 +9,16 @@ fi
|
||||||
# HI3516EV300 CamHi
|
# HI3516EV300 CamHi
|
||||||
if [ "$SOC" == "hi3516ev300" ]; then
|
if [ "$SOC" == "hi3516ev300" ]; then
|
||||||
devmem 0x100C0080 32 0x530
|
devmem 0x100C0080 32 0x530
|
||||||
gpio clear 7
|
echo 7 > /sys/class/gpio/export
|
||||||
gpio unexport 7
|
echo out > /sys/class/gpio/gpio7/direction
|
||||||
|
echo 0 > /sys/class/gpio/gpio7/value
|
||||||
modprobe mt7601usta
|
modprobe mt7601usta
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# T21 BJS
|
# T21 BJS
|
||||||
if [ "$SOC" == "t21" ]; then
|
if [ "$SOC" == "t21" ]; then
|
||||||
gpio clear 50
|
echo 50 > /sys/class/gpio/export
|
||||||
gpio unexport 50
|
echo out > /sys/class/gpio/gpio50/direction
|
||||||
|
echo 0 > /sys/class/gpio/gpio50/value
|
||||||
modprobe 8188fu
|
modprobe 8188fu
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue