]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
acer-wmi: does not set persistence state by rfkill_init_sw_state
authorChun-Yi Lee <joeyli.kernel@gmail.com>
Mon, 28 Mar 2011 08:52:02 +0000 (16:52 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Apr 2011 20:02:38 +0000 (13:02 -0700)
commit88210a07190401c7f5293a8c9eb26c693536bd1b
tree79994db6dbedd704ea5f4de5b8315519cd8417d1
parent4a349aa0c074ad2c46a6d2a1d3500da7ae300c4d
acer-wmi: does not set persistence state by rfkill_init_sw_state

commit 8215af019040ce9182728afee9642d8fdeb17f59 upstream.

Acer BIOS keeps devices state when system reboot, but reset to default
device states (Wlan on, Bluetooth off, wwan on) if system cold boot.
That means BIOS's initial state is not always real persistence.

So, removed rfkill_init_sw_state because it sets initial state to
persistence then replicate to other new killswitch when rfkill-input
enabled.
After removed it, acer-wmi set initial soft-block state after rfkill
register, and doesn't allow set_block until rfkill initial finished.

Reference: bko#31002
https://bugzilla.kernel.org/show_bug.cgi?id=31002

Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: OldÅ\99ich JedliÄ\8dka <oldium.pro@seznam.cz>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Chun-Yi Lee <jlee@novell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/platform/x86/acer-wmi.c