Revert "feat(deck): Add fix for suspend with some wifi adapters."

This reverts commit 04929200614a16c16d22854924a42f42561049d8.
This commit is contained in:
Kyle Gospodnetich 2024-03-13 17:27:50 -07:00
parent fc9693689b
commit 09b4090a55
2 changed files with 0 additions and 22 deletions

View File

@ -1,2 +0,0 @@
# Line separated list of modules to unload/reload at suspend/resume.
mt7921e

View File

@ -1,20 +0,0 @@
#!/bin/bash
# This file runs during sleep/resume events. It will read the list of modules
# in /etc/device-quirks/systemd-suspend-mods.conf and rmmod them on suspend,
# insmod them on resume.
# Originally created by ChimeraOS
MOD_LIST=$(grep -v ^\# /etc/device-quirks/systemd-suspend-mods.conf)
case $1 in
pre)
for mod in $MOD_LIST; do
modprobe -r $mod
done
;;
post)
for mod in $MOD_LIST; do
modprobe $mod
done
;;
esac