aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>2008-01-23 13:15:16 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-31 22:26:39 -0500
commitd986bcd1ca76e033543a97f8a3ff806530b1c805 (patch)
tree8427cd1cc1ae412cc2eac2f135862b2e39167002 /drivers/net/wireless/iwlwifi/iwl4965-base.c
parent4fcc54707e51daf68dac995a4c632e5b21454b02 (diff)
iwlwifi: Fix an invalid bitmask test in iwl3945 and iwl4965
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index c86da5cd1df1..f9f387fff55c 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -7580,7 +7580,7 @@ static void iwl4965_config_ap(struct iwl4965_priv *priv)
7580{ 7580{
7581 int rc = 0; 7581 int rc = 0;
7582 7582
7583 if (priv->status & STATUS_EXIT_PENDING) 7583 if (test_bit(STATUS_EXIT_PENDING, &priv->status))
7584 return; 7584 return;
7585 7585
7586 /* The following should be done only at AP bring up */ 7586 /* The following should be done only at AP bring up */