dell-laptop: Do not skip setting blocked bit rfkill_set while hw-blocked
authorHans de Goede <hdegoede@redhat.com>
Sun, 17 Nov 2013 13:00:24 +0000 (14:00 +0100)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 20 Nov 2013 23:50:49 +0000 (18:50 -0500)
commited1128989ab242f44664b446702a512e5695c4b7
tree33bb1838cb165f3659d2740f1b5f2e840fa9c203
parent04c9a3a06c47b337b90a91e458716262cc45b103
dell-laptop: Do not skip setting blocked bit rfkill_set while hw-blocked

Instead when hw-blocked always write 1 to the blocked bit for the radio in
question. This is necessary to properly set all the blocked bits for hw-switch
controlled radios to 1 after power-on and resume.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/dell-laptop.c