Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 237051
b: refs/heads/master
c: 80b38ff
h: refs/heads/master
i:
  237049: da0eddf
  237047: b296d80
v: v3
  • Loading branch information
Wey-Yi Guy committed Feb 6, 2011
1 parent 1960b8b commit 169609e
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2f115cf24ea3f5010f7361d2098545edf7a07add
refs/heads/master: 80b38fffab9a2d86c252addce5a520dcf8f2fc66
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3771,7 +3771,7 @@ static void iwlagn_disable_roc(struct iwl_priv *priv)

priv->_agn.hw_roc_channel = NULL;

iwlagn_commit_rxon(priv, ctx);
iwlcore_commit_rxon(priv, ctx);

ctx->is_active = false;
}
Expand All @@ -3787,6 +3787,7 @@ static void iwlagn_bg_roc_done(struct work_struct *work)
mutex_unlock(&priv->mutex);
}

#ifdef CONFIG_IWL5000
static int iwl_mac_remain_on_channel(struct ieee80211_hw *hw,
struct ieee80211_channel *channel,
enum nl80211_channel_type channel_type,
Expand Down Expand Up @@ -3814,7 +3815,7 @@ static int iwl_mac_remain_on_channel(struct ieee80211_hw *hw,
priv->_agn.hw_roc_channel = channel;
priv->_agn.hw_roc_chantype = channel_type;
priv->_agn.hw_roc_duration = DIV_ROUND_UP(duration * 1000, 1024);
iwlagn_commit_rxon(priv, &priv->contexts[IWL_RXON_CTX_PAN]);
iwlcore_commit_rxon(priv, &priv->contexts[IWL_RXON_CTX_PAN]);
queue_delayed_work(priv->workqueue, &priv->_agn.hw_roc_work,
msecs_to_jiffies(duration + 20));

Expand Down Expand Up @@ -3842,6 +3843,7 @@ static int iwl_mac_cancel_remain_on_channel(struct ieee80211_hw *hw)

return 0;
}
#endif

/*****************************************************************************
*
Expand Down

0 comments on commit 169609e

Please sign in to comment.