sony-laptop: always try to unblock rfkill on load
authorMattia Dongili <malattia@linux.it>
Sun, 12 Apr 2009 11:26:31 +0000 (11:26 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 24 Apr 2009 03:57:34 +0000 (23:57 -0400)
commit53005a0a1b53bda5810c45efe3025d1884aa6bb3
tree92d21390d90df7f0146b6db017cc55a0dfff686e
parentc35d4b3532ed3e2076fb14c25385cf6cef41cc69
sony-laptop: always try to unblock rfkill on load

This fixes an inconsistent behaviour when loading the driver with the
switch on or off. In the former case you would also need to soft unblock
the switch via the sysfs file entries to really disable rfkill, in the
latter you wouldn't.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Cc: Matthias Welwarsky <matze@welwarsky.de>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/sony-laptop.c