From: Helmut Schaa Date: Wed, 12 Mar 2014 09:37:55 +0000 (+0100) Subject: ath9k: Fix sequence number assignment for non-data frames X-Git-Tag: v3.14-rc8~3^2~21^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5998be879719384af2014b79697eed6e38ee2706;p=pandora-kernel.git 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 Signed-off-by: Helmut Schaa Acked-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed