Helmut Schaa 5998be8797 ath9k: Fix sequence number assignment for non-data frames
Since commit 558ff225de80ac95b132d3a115ddadcd64498b4f (ath9k: fix
ps-poll responses under a-mpdu sessions) non-data frames would have
gotten a sequence number from a TIDs sequence counter instead of
using the global sequence counter.

This can lead to instable connections.

To fix this only select the correct TID if we are processing a
data frame. Furthermore, prevent non-data frames to get a sequence
number from a TID sequence counter by adding a check to
ath_tx_setup_buffer.

Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-03-13 14:57:26 -04:00
..
2013-09-26 15:13:38 -04:00
2013-08-28 13:58:27 -04:00
2014-01-03 15:37:00 -05:00
2013-10-14 13:39:58 -04:00
2014-01-03 15:37:01 -05:00
2013-12-02 14:24:53 -05:00
2014-01-13 14:50:05 -05:00
2014-01-03 15:36:58 -05:00
2013-12-18 15:23:22 -05:00
2014-01-13 14:50:05 -05:00
2013-10-18 14:03:54 -04:00
2013-12-18 15:23:22 -05:00
2014-01-16 14:55:45 -05:00
2013-01-11 14:12:01 -05:00
2014-01-23 14:02:45 -05:00
2014-01-03 15:36:58 -05:00
2014-01-03 15:36:57 -05:00
2014-01-23 14:02:45 -05:00
2014-01-09 10:56:40 -05:00
2013-12-18 15:23:37 -05:00
2013-09-26 15:13:48 -04:00
2014-01-03 15:36:58 -05:00