For supporting suspend/resume with wifi activate, brcmfmac MUST be unbinding before each suspend. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
14 lines
261 B
Desktop File
14 lines
261 B
Desktop File
[Unit]
|
|
Description=Wifi brcmfmac sleep hook
|
|
Before=sleep.target
|
|
StopWhenUnneeded=yes
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=-/usr/bin/wifi_brcmfmac_driver.sh unbind
|
|
ExecStop=-/usr/bin/wifi_brcmfmac_driver.sh bind
|
|
|
|
[Install]
|
|
WantedBy=sleep.target
|