aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ni52.h
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2009-03-27 12:45:30 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:37 -0400
commit55a3757a5703ebc58612ffbfbcb7f193dae17df7 (patch)
treed24e72c38f311e2e5398bb6ce1bda2823e0eacea /drivers/net/ni52.h
parent71a7b26d3e6404e43574f80236c00eaa39b2525e (diff)
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 <reinette.chatre@intel.com> Acked-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/ni52.h')
0 files changed, 0 insertions, 0 deletions