Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225288
b: refs/heads/master
c: ae0b693
h: refs/heads/master
v: v3
  • Loading branch information
Shanyu Zhao authored and Wey-Yi Guy committed Dec 13, 2010
1 parent e0cac4a commit bb1b674
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: a1da077bc36368eb7d6312e7e49260f0a3d92c77
refs/heads/master: ae0b693c12cc78913085733d28e0e0e6020db6f4
9 changes: 8 additions & 1 deletion trunk/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,14 @@ void iwlagn_bss_info_changed(struct ieee80211_hw *hw,

mutex_lock(&priv->mutex);

if (WARN_ON(!ctx->vif)) {
if (unlikely(!iwl_is_ready(priv))) {
IWL_DEBUG_MAC80211(priv, "leave - not ready\n");
mutex_unlock(&priv->mutex);
return;
}

if (unlikely(!ctx->vif)) {
IWL_DEBUG_MAC80211(priv, "leave - vif is NULL\n");
mutex_unlock(&priv->mutex);
return;
}
Expand Down

0 comments on commit bb1b674

Please sign in to comment.