aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 748ac1222abb..0bfb925ebda8 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -7120,7 +7120,7 @@ static void iwl3945_config_ap(struct iwl3945_priv *priv)
7120{ 7120{
7121 int rc = 0; 7121 int rc = 0;
7122 7122
7123 if (priv->status & STATUS_EXIT_PENDING) 7123 if (test_bit(STATUS_EXIT_PENDING, &priv->status))
7124 return; 7124 return;
7125 7125
7126 /* The following should be done only at AP bring up */ 7126 /* The following should be done only at AP bring up */
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 */