• Lee, Chun-Yi's avatar
    acer-wmi: does not set persistence state by rfkill_init_sw_state · 8215af01
    Lee, Chun-Yi authored
    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řich Jedlička <oldium.pro@seznam.cz>
    Cc: Johannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarLee, Chun-Yi <jlee@novell.com>
    Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
    8215af01
acer-wmi.c 40.5 KB