Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/remux/launcher.cpy
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,8 @@ class App: public IApp:
_ := system("systemctl suspend")
sleep(1)

if system("lsmod | grep brcmfmac") == 0:
disable_wifi_reload := getenv("REMUX_DISABLE_WIFI_RELOAD")
if (disable_wifi_reload == NULL or strlen(disable_wifi_reload) == 0) and system("lsmod | grep brcmfmac") == 0:
debug "RELOADING WIFI DRIVERS"
_ = system("modprobe -r brcmfmac brcmutil")
_ = system("modprobe brcmfmac brcmutil")
Expand Down