diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2010-11-18 12:19:52 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 13:32:04 -0800 |
commit | afa45b3276c604dab9d50875754b9f5ed0585847 (patch) | |
tree | bd91c954bdcefe7986b9c4c7d8c29aab11e121a8 /drivers | |
parent | 1791d4036f8fca203f05523d32eaec6088a49fa1 (diff) |
ath9k_htc: Avoid setting QoS control for non-QoS frames
commit 3bf30b56c4f0a1c4fae34050b7db4527c92891e8 upstream.
Setting tid information in the TX header is required only for QoS
frames. Not handling this case causes severe data loss with some APs.
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index 2a6e45a293a9..f06eeab2a572 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c @@ -121,7 +121,7 @@ int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb) tx_hdr.data_type = ATH9K_HTC_NORMAL; } - if (ieee80211_is_data(fc)) { + if (ieee80211_is_data_qos(fc)) { qc = ieee80211_get_qos_ctl(hdr); tx_hdr.tidno = qc[0] & IEEE80211_QOS_CTL_TID_MASK; } |