diff options
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl4965-base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl4965-base.c b/drivers/net/wireless/iwlegacy/iwl4965-base.c index 49a80bb70634..46242d2aa5ad 100644 --- a/drivers/net/wireless/iwlegacy/iwl4965-base.c +++ b/drivers/net/wireless/iwlegacy/iwl4965-base.c | |||
@@ -2526,7 +2526,7 @@ void iwl4965_mac_channel_switch(struct ieee80211_hw *hw, | |||
2526 | if (!iwl_legacy_is_associated_ctx(ctx)) | 2526 | if (!iwl_legacy_is_associated_ctx(ctx)) |
2527 | goto out; | 2527 | goto out; |
2528 | 2528 | ||
2529 | if (priv->cfg->ops->lib->set_channel_switch) | 2529 | if (!priv->cfg->ops->lib->set_channel_switch) |
2530 | goto out; | 2530 | goto out; |
2531 | 2531 | ||
2532 | ch = channel->hw_value; | 2532 | ch = channel->hw_value; |
@@ -2539,7 +2539,7 @@ void iwl4965_mac_channel_switch(struct ieee80211_hw *hw, | |||
2539 | goto out; | 2539 | goto out; |
2540 | } | 2540 | } |
2541 | 2541 | ||
2542 | spin_lock(&priv->lock); | 2542 | spin_lock_irq(&priv->lock); |
2543 | 2543 | ||
2544 | priv->current_ht_config.smps = conf->smps_mode; | 2544 | priv->current_ht_config.smps = conf->smps_mode; |
2545 | 2545 | ||