Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255768
b: refs/heads/master
c: a6f0f04
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and John W. Linville committed Jun 17, 2011
1 parent 7132945 commit d8b1ef9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4bb17c4bed70892ea8b749a843a516424ba5638
refs/heads/master: a6f0f048875a07b2926c075744eb5edc41bc3c1d
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/iwlegacy/iwl4965-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2526,7 +2526,7 @@ void iwl4965_mac_channel_switch(struct ieee80211_hw *hw,
if (!iwl_legacy_is_associated_ctx(ctx))
goto out;

if (priv->cfg->ops->lib->set_channel_switch)
if (!priv->cfg->ops->lib->set_channel_switch)
goto out;

ch = channel->hw_value;
Expand All @@ -2539,7 +2539,7 @@ void iwl4965_mac_channel_switch(struct ieee80211_hw *hw,
goto out;
}

spin_lock(&priv->lock);
spin_lock_irq(&priv->lock);

priv->current_ht_config.smps = conf->smps_mode;

Expand Down

0 comments on commit d8b1ef9

Please sign in to comment.