diff options
author | Maarten Lankhorst <m.b.lankhorst@gmail.com> | 2008-01-23 10:15:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:26:39 -0800 |
commit | d986bcd1ca76e033543a97f8a3ff806530b1c805 (patch) | |
tree | 8427cd1cc1ae412cc2eac2f135862b2e39167002 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | 4fcc54707e51daf68dac995a4c632e5b21454b02 (diff) | |
download | blackbird-op-linux-d986bcd1ca76e033543a97f8a3ff806530b1c805.tar.gz blackbird-op-linux-d986bcd1ca76e033543a97f8a3ff806530b1c805.zip |
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/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
1 files changed, 1 insertions, 1 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) { int rc = 0; - if (priv->status & STATUS_EXIT_PENDING) + if (test_bit(STATUS_EXIT_PENDING, &priv->status)) return; /* The following should be done only at AP bring up */ |