diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-12-14 14:35:41 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-14 14:35:41 -0500 |
commit | 5d22df200beccb1dea26fe4d8684ed93ae2f0aeb (patch) | |
tree | 05220b08a0c9d170ad88e3b9ed0390750d22d8ea /drivers/net/wireless/iwlwifi/iwl-mac80211.c | |
parent | 8b1fdb53075bd794a209a611bc94aedaf7ecf9e2 (diff) | |
parent | 78feb35b8161acd95c33a703ed6ab6f554d29387 (diff) | |
download | blackbird-op-linux-5d22df200beccb1dea26fe4d8684ed93ae2f0aeb.tar.gz blackbird-op-linux-5d22df200beccb1dea26fe4d8684ed93ae2f0aeb.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts:
drivers/net/wireless/iwlwifi/iwl-agn.c
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-mac80211.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-mac80211.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-mac80211.c b/drivers/net/wireless/iwlwifi/iwl-mac80211.c index b3886d20c272..e3944f4e4fd6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-mac80211.c +++ b/drivers/net/wireless/iwlwifi/iwl-mac80211.c @@ -1048,6 +1048,9 @@ static int iwlagn_mac_tx_sync(struct ieee80211_hw *hw, int ret; u8 sta_id; + if (ctx->ctxid != IWL_RXON_CTX_PAN) + return 0; + IWL_DEBUG_MAC80211(priv, "enter\n"); mutex_lock(&priv->shrd->mutex); @@ -1097,6 +1100,9 @@ static void iwlagn_mac_finish_tx_sync(struct ieee80211_hw *hw, struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; struct iwl_rxon_context *ctx = vif_priv->ctx; + if (ctx->ctxid != IWL_RXON_CTX_PAN) + return; + IWL_DEBUG_MAC80211(priv, "enter\n"); mutex_lock(&priv->shrd->mutex); |