From: Alan Jenkins Date: Thu, 24 Sep 2009 19:15:24 +0000 (+0100) Subject: sony-laptop: check for rfkill hard block at load time X-Git-Tag: v2.6.32-rc3~63^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50fab0760a6c07cded229357a1351c325a575770;p=pandora-kernel.git sony-laptop: check for rfkill hard block at load time "I recently (on a flight) I found out that when I boot with the hard-switch activated, so turning off all wireless activity on my laptop, the state is not correctly announced in /dev/rfkill (reading it with rfkill command, or my own gnome applet)... After turning off and on again the hard-switch the events were right." We can fix this by querying the firmware at load time and calling rfkill_set_hw_state(). Signed-off-by: Alan Jenkins Tested-by: Norbert Preining Acked-by: Johannes Berg Acked-by: Mattia Dongili CC: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed