diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 4 |
1 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 d09325591de0..25a350810a10 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -3267,12 +3267,12 @@ static int iwl3945_get_channels_for_scan(struct iwl_priv *priv, | |||
3267 | * hearing clear Rx packet).*/ | 3267 | * hearing clear Rx packet).*/ |
3268 | if (IWL_UCODE_API(priv->ucode_ver) >= 2) { | 3268 | if (IWL_UCODE_API(priv->ucode_ver) >= 2) { |
3269 | if (n_probes) | 3269 | if (n_probes) |
3270 | scan_ch->type |= IWL_SCAN_PROBE_MASK(n_probes); | 3270 | scan_ch->type |= IWL39_SCAN_PROBE_MASK(n_probes); |
3271 | } else { | 3271 | } else { |
3272 | /* uCode v1 does not allow setting direct probe bits on | 3272 | /* uCode v1 does not allow setting direct probe bits on |
3273 | * passive channel. */ | 3273 | * passive channel. */ |
3274 | if ((scan_ch->type & 1) && n_probes) | 3274 | if ((scan_ch->type & 1) && n_probes) |
3275 | scan_ch->type |= IWL_SCAN_PROBE_MASK(n_probes); | 3275 | scan_ch->type |= IWL39_SCAN_PROBE_MASK(n_probes); |
3276 | } | 3276 | } |
3277 | 3277 | ||
3278 | /* Set txpower levels to defaults */ | 3278 | /* Set txpower levels to defaults */ |