Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149993
b: refs/heads/master
c: 0cf4c01
h: refs/heads/master
i:
  149991: 544e030
v: v3
  • Loading branch information
Mohamed Abbas authored and John W. Linville committed Apr 22, 2009
1 parent 89be9b6 commit aaff498
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 09f9bf79b7870ac017a94f7f9b603c2e28ac73f7
refs/heads/master: 0cf4c01ebe2ccf4487fe9301bab905365dca06c3
11 changes: 5 additions & 6 deletions trunk/drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2474,12 +2474,6 @@ int iwl_mac_config(struct ieee80211_hw *hw, u32 changed)

mutex_lock(&priv->mutex);

if (!iwl_is_ready(priv)) {
IWL_DEBUG_MAC80211(priv, "leave - not ready\n");
ret = -EIO;
goto out;
}

IWL_DEBUG_MAC80211(priv, "enter to channel %d changed 0x%X\n",
conf->channel->hw_value, changed);

Expand Down Expand Up @@ -2574,6 +2568,11 @@ int iwl_mac_config(struct ieee80211_hw *hw, u32 changed)
goto out;
}

if (!iwl_is_ready(priv)) {
IWL_DEBUG_MAC80211(priv, "leave - not ready\n");
goto out;
}

if (scan_active)
goto out;

Expand Down

0 comments on commit aaff498

Please sign in to comment.