From: Reinette Chatre Date: Fri, 27 Mar 2009 19:45:30 +0000 (-0700) Subject: iwlwifi: change check triggering device restart after rfkill change X-Git-Tag: v2.6.31-rc1~330^2~568^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55a3757a5703ebc58612ffbfbcb7f193dae17df7;p=pandora-kernel.git iwlwifi: change check triggering device restart after rfkill change The STATUS_ALIVE value cannot be used because it is cleared when interface is brought down and will not be set if rfkill is enabled when interface is started again. The interface can thus not be brought up if rfkill was enabled before stopping the interface and disabled after starting the interface. Change the test to use priv->is_open instead, this will be set when interface is started whether rfkill is enabled or not. Thanks to Helmut Schaa for the suggested fix. Signed-off-by: Reinette Chatre Acked-by: Helmut Schaa Signed-off-by: John W. Linville --- Reading git-diff-tree failed