From: Henrique de Moraes Holschuh Date: Mon, 21 Jul 2008 12:15:50 +0000 (-0300) Subject: ACPI: thinkpad-acpi: WLSW overrides other rfkill switches X-Git-Tag: v2.6.27-rc1~510^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=133ec3bd3ae409895eacdce326cdc8d73c249e8a;p=pandora-kernel.git ACPI: thinkpad-acpi: WLSW overrides other rfkill switches On ThinkPads where the WLSW switch exists, the firmware or the hardware ANDs the WLSW state with the device-specific switches (WWAN, Bluetooth). It is downright impossible to enable WWAN or Bluetooth when WLSW is blocking the radios. This reality does not necessarily carry over to the WWAN and Bluetooth firmware interfaces, though... so the state thinkpad-acpi was reporting could be incorrect. Tie the three switches in the driver so that we keep their state sane. When WLSL is off, force the other switches to off as well. Signed-off-by: Henrique de Moraes Holschuh --- Reading git-diff-tree failed