acer-wmi: does not set persistence state by rfkill_init_sw_state
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Mon, 28 Mar 2011 08:52:02 +0000 (16:52 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:46:12 +0000 (06:46 -0400)
commit8215af019040ce9182728afee9642d8fdeb17f59
tree4cb84e68fb7310b5a474cfb33d910734f1691365
parentc8440336fe376036e473554c30f7266987961734
acer-wmi: does not set persistence state by rfkill_init_sw_state

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: Lee, Chun-Yi <jlee@novell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c