sony: fix rfkill code again
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 11 Jun 2009 10:08:15 +0000 (12:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Jun 2009 19:05:51 +0000 (15:05 -0400)
commite1f8a19e6fc4f6d4267f6d3fe465553c3688f28e
tree752f58a83ab3a2cbd8306676ae0c56cd3a9672cb
parent9cbc1cb8cd46ce1f7645b9de249b2ce8460129bb
sony: fix rfkill code again

When the hard state changes, we shouldn't set the soft
state to blocked as well -- we have no such indication
from the device in that case so leave it untouched.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=13458.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reported-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/platform/x86/sony-laptop.c