提交 d0930a2d 编写于 作者: C Corentin Chary

asus-laptop: rename wireless_status to wlan_status to avoid confusion

Signed-off-by: NCorentin Chary <corentincj@iksaif.net>
上级 e5593bf1
...@@ -76,11 +76,11 @@ static uint wapf = 1; ...@@ -76,11 +76,11 @@ static uint wapf = 1;
module_param(wapf, uint, 0644); module_param(wapf, uint, 0644);
MODULE_PARM_DESC(wapf, "WAPF value"); MODULE_PARM_DESC(wapf, "WAPF value");
static uint wireless_status = 1; static uint wlan_status = 1;
static uint bluetooth_status = 1; static uint bluetooth_status = 1;
module_param(wireless_status, uint, 0644); module_param(wlan_status, uint, 0644);
MODULE_PARM_DESC(wireless_status, "Set the wireless status on boot " MODULE_PARM_DESC(wlan_status, "Set the wireless status on boot "
"(0 = disabled, 1 = enabled, -1 = don't do anything). " "(0 = disabled, 1 = enabled, -1 = don't do anything). "
"default is 1"); "default is 1");
...@@ -1446,8 +1446,8 @@ static int __devinit asus_acpi_init(struct asus_laptop *asus) ...@@ -1446,8 +1446,8 @@ static int __devinit asus_acpi_init(struct asus_laptop *asus)
if (bluetooth_status >= 0) if (bluetooth_status >= 0)
asus_bluetooth_set(asus, !!bluetooth_status); asus_bluetooth_set(asus, !!bluetooth_status);
if (wireless_status >= 0) if (wlan_status >= 0)
asus_wlan_set(asus, !!wireless_status); asus_wlan_set(asus, !!wlan_status);
/* Keyboard Backlight is on by default */ /* Keyboard Backlight is on by default */
if (!acpi_check_handle(asus->handle, METHOD_KBD_LIGHT_SET, NULL)) if (!acpi_check_handle(asus->handle, METHOD_KBD_LIGHT_SET, NULL))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册