From: Adel Gadllah Date: Tue, 1 Jul 2008 15:49:50 +0000 (+0200) Subject: iwlwifi: remove input device and fix rfkill state X-Git-Tag: v2.6.27-rc1~969^2~186^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80fcc9e28cf3a209fbfb39a7bbddc313c59c7424;p=pandora-kernel.git iwlwifi: remove input device and fix rfkill state This patch fixes the iwlwifi rfkill. It removes the input device from iwl3945, adds support for RFKILL_STATE_HARD_BLOCKED and calls rfkill_force_state() to update the state rather than accessing it directly. The calls to iwl|iwl3945_rfkill_set_hw_state() had to be moved because rfkill_force_state() cannot be called from an atomic context. Tested on iwl3945 and seems to work fine. Cc: Randy Dunlap Cc: Ivo van Doorn Cc: Fabien Crespel Cc: Zhu Yi Cc: Henrique de Moraes Holschuh Signed-off-by: Adel Gadllah Signed-off-by: John W. Linville --- Reading git-diff-tree failed