Skip to content

Commit

Permalink
Merge pull request #4 from ffac/revert-mt7915-in-general
Browse files Browse the repository at this point in the history
Revert "tecff-broken-wlan-workaround: add fix for mt7915 bug"
  • Loading branch information
maurerle authored Jul 5, 2024
2 parents e379522 + c5ed5dc commit 47cf64d
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,6 @@ if [ "$GWCONNECTION" -eq 0 ]; then
fi
fi

if ! cat /sys/kernel/debug/ieee80211/phy*/mt76/rf_regval > /dev/null; then
# https://github.com/freifunk-gluon/gluon/issues/3154#issuecomment-2125452973
logger -p 0 -t "$SCRIPTNAME" "wifi seems crashed; reloading driver";
# delete old hostapd files, as they are not needed anymore
# and mangle with the ffac-ssid-changer
rmmod mt7915e && rm /var/run/hostapd-*.conf* && modprobe mt7915e
# directly restart wifi
WLANRESTART=1
touch $RESTARTFILE
fi

if [ ! -f "$RESTARTFILE" ] && [ "$WLANRESTART" -eq 1 ]; then
# delaying wlan restart until the next script run
touch $RESTARTFILE
Expand Down

0 comments on commit 47cf64d

Please sign in to comment.