Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 668f4a03 authored by Dan Carpenter's avatar Dan Carpenter Committed by Matthew Garrett
Browse files

asus: don't modify bluetooth/wlan on boot



We were storing -1 as an unsigned int and as a result the effect of
passing -1 was the same as using 1.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
Acked-by: default avatarCorentin Chary <corentincj@iksaif.net>
parent a0624a90
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -79,15 +79,15 @@ static uint wapf = 1;
module_param(wapf, uint, 0644);
MODULE_PARM_DESC(wapf, "WAPF value");

static uint wlan_status = 1;
static uint bluetooth_status = 1;
static int wlan_status = 1;
static int bluetooth_status = 1;

module_param(wlan_status, uint, 0644);
module_param(wlan_status, int, 0644);
MODULE_PARM_DESC(wlan_status, "Set the wireless status on boot "
		 "(0 = disabled, 1 = enabled, -1 = don't do anything). "
		 "default is 1");

module_param(bluetooth_status, uint, 0644);
module_param(bluetooth_status, int, 0644);
MODULE_PARM_DESC(bluetooth_status, "Set the wireless status on boot "
		 "(0 = disabled, 1 = enabled, -1 = don't do anything). "
		 "default is 1");