summaryrefslogtreecommitdiffstats
path: root/net/mac80211/status.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-07-23 10:24:48 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-08-08 16:04:05 -0400
commitb4ca6084a84d50c5b0986adff7fdf8244b84fe39 (patch)
tree4006e312678e864119ffbcc5bc51562ecabd7583 /net/mac80211/status.c
parentc6baf7fb40cb141c4b510372f7dac829621ccf3f (diff)
downloadlinux-b4ca6084a84d50c5b0986adff7fdf8244b84fe39.tar.gz
linux-b4ca6084a84d50c5b0986adff7fdf8244b84fe39.tar.bz2
linux-b4ca6084a84d50c5b0986adff7fdf8244b84fe39.zip
mac80211: remove offchannel_tx API
For iwlwifi, I decided not to use this API since it just increased the complexity for little gain. Since nobody else intends to use it, let's kill it again. If anybody later needs to have it, we can always revive it then. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r--net/mac80211/status.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c
index 1658efaa2e8e..a89cca3491b4 100644
--- a/net/mac80211/status.c
+++ b/net/mac80211/status.c
@@ -345,9 +345,6 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
local->hw_roc_skb_for_status = NULL;
}
- if (cookie == local->hw_offchan_tx_cookie)
- local->hw_offchan_tx_cookie = 0;
-
cfg80211_mgmt_tx_status(
skb->dev, cookie, skb->data, skb->len,
!!(info->flags & IEEE80211_TX_STAT_ACK), GFP_ATOMIC);