diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2013-06-11 17:49:38 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-11 20:48:09 +0400 |
commit | fa8eeae102570dfdf3fd14347a0671cff8a2cfe4 (patch) | |
tree | ca1b00c366d61422ecd033c0e3f6a8a977440070 /drivers/net/wireless/cw1200/txrx.c | |
parent | 10af87c3d99112b3ca279cadd874cd542e4f6699 (diff) | |
download | linux-fa8eeae102570dfdf3fd14347a0671cff8a2cfe4.tar.xz |
cw1200: Remove "ITP" debug subsystem.
This can live on as an out-of-tree patch for those that care.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/cw1200/txrx.c')
-rw-r--r-- | drivers/net/wireless/cw1200/txrx.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/wireless/cw1200/txrx.c b/drivers/net/wireless/cw1200/txrx.c index a2547473ec5c..451d74625f90 100644 --- a/drivers/net/wireless/cw1200/txrx.c +++ b/drivers/net/wireless/cw1200/txrx.c @@ -861,9 +861,6 @@ void cw1200_tx_confirm_cb(struct cw1200_common *priv, pr_debug("[TX] TX confirm: %d, %d.\n", arg->status, arg->ack_failures); - if (cw1200_itp_tx_running(priv)) - return; - if (priv->mode == NL80211_IFTYPE_UNSPECIFIED) { /* STA is stopped. */ return; @@ -1001,8 +998,7 @@ void cw1200_skb_dtor(struct cw1200_common *priv, txpriv->raw_link_id, txpriv->tid); tx_policy_put(priv, txpriv->rate_id); } - if (!cw1200_is_itp(priv)) - ieee80211_tx_status(priv->hw, skb); + ieee80211_tx_status(priv->hw, skb); } void cw1200_rx_cb(struct cw1200_common *priv, @@ -1205,9 +1201,7 @@ void cw1200_rx_cb(struct cw1200_common *priv, grace_period = 1 * HZ; cw1200_pm_stay_awake(&priv->pm_state, grace_period); - if (cw1200_itp_rxed(priv, skb)) { - consume_skb(skb); - } else if (early_data) { + if (early_data) { spin_lock_bh(&priv->ps_state_lock); /* Double-check status with lock held */ if (entry->status == CW1200_LINK_SOFT) |