BigW Consortium Gitlab

Commit dad4c3ed by David Clark

Updates to MT7697 WiFi scripts to work with udpated Yocto

parent a8a20e84
......@@ -77,5 +77,4 @@ echo "Enabling IP forwarding..."
sysctl -w net.ipv4.ip_forward=1
echo "Start wpa supplicant...."
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/flash/wifi
/mnt/flash/mtwifi/wpa_supplicant -Dwext -i $ITF_LAN -c /etc/mt7697-ap -B
/sbin/wpa_supplicant -Dwext -i $ITF_LAN -c /etc/mt7697-ap -B
......@@ -15,6 +15,13 @@ mt_wifi_start() {
stty -F /dev/ttyHS0 -echo || exit 127
fi
lsmod | grep mac80211 >/dev/null
if [ $? -eq 1 ]; then
modprobe mac80211
echo "Initialized Linux WiFi modules";
sleep 2
fi
lsmod | grep 2_mt7697wifi_core >/dev/null
if [ $? -eq 1 ]; then
hw_itf=`echo $1 | tr '[A-Z]' '[a-z]'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment