[fix] fix the wifi disable on startup issue

This commit is contained in:
Anas Elgarhy 2023-05-07 13:48:12 +03:00
parent e1016c11ba
commit 2083dc5074
No known key found for this signature in database
GPG key ID: 0501802A1D496528

View file

@ -396,7 +396,7 @@ USB_EXCLUDE_PHONE=0
# Set to 1 to disable autosuspend before shutdown, 0 to do nothing # Set to 1 to disable autosuspend before shutdown, 0 to do nothing
# Note: use as a workaround for USB devices that cause shutdown problems. # Note: use as a workaround for USB devices that cause shutdown problems.
USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=0 # USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=0
# Restore radio device state (Bluetooth, WiFi, WWAN) from previous shutdown # Restore radio device state (Bluetooth, WiFi, WWAN) from previous shutdown
# on system startup: 0=disable, 1=enable. # on system startup: 0=disable, 1=enable.
@ -412,11 +412,11 @@ DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
# Radio devices to enable on startup: bluetooth, nfc, wifi, wwan. # Radio devices to enable on startup: bluetooth, nfc, wifi, wwan.
# Separate multiple devices with spaces. # Separate multiple devices with spaces.
DEVICES_TO_ENABLE_ON_STARTUP="wifi wwan" # DEVICES_TO_ENABLE_ON_STARTUP="wifi wwan"
# Radio devices to disable on shutdown: bluetooth, nfc, wifi, wwan. # Radio devices to disable on shutdown: bluetooth, nfc, wifi, wwan.
# Note: use as a workaround for devices that are blocking shutdown. # Note: use as a workaround for devices that are blocking shutdown.
DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth nfc wifi wwan" # DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth nfc wifi wwan"
# Radio devices to enable on shutdown: bluetooth, nfc, wifi, wwan. # Radio devices to enable on shutdown: bluetooth, nfc, wifi, wwan.
# (to prevent other operating systems from missing radios). # (to prevent other operating systems from missing radios).