carl9170: remove non-standard ba session teardown
authorChristian Lamparter <chunkeey@googlemail.com>
Sun, 26 Sep 2010 19:28:51 +0000 (21:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 Sep 2010 19:47:55 +0000 (15:47 -0400)
802.11n-2009 demands in 11.2.1: "
When a STA enters normal (non-APSD) PS mode, any downlink
Block ACK agreement without an associated schedule is
suspended for the duration of this PS mode."

The operative word is "suspended" and not terminated.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/main.c

index 43de9df..d28b4ff 100644 (file)
@@ -1453,9 +1453,6 @@ static void carl9170_op_sta_notify(struct ieee80211_hw *hw,
                                while ((skb = __skb_dequeue(&tid_info->queue)))
                                        __skb_queue_tail(&free, skb);
                                spin_unlock_bh(&tid_info->lock);
-
-                               ieee80211_stop_tx_ba_session(sta,
-                                       tid_info->tid);
                        }
                        rcu_read_unlock();
                }