diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2010-11-26 23:29:23 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-29 14:41:29 -0500 |
commit | 5c5e138b590a748c57d54b39634cda974ab9af1d (patch) | |
tree | 1ef6b893425daaab59d3f32f68eecd2402dfa0ca /drivers/net/wireless/ath/carl9170 | |
parent | 7dff3125534c1d035a910052335a3a39fbb31aa7 (diff) | |
download | kernel_samsung_crespo-5c5e138b590a748c57d54b39634cda974ab9af1d.zip kernel_samsung_crespo-5c5e138b590a748c57d54b39634cda974ab9af1d.tar.gz kernel_samsung_crespo-5c5e138b590a748c57d54b39634cda974ab9af1d.tar.bz2 |
carl9170: fix carl9170_tx_prepare typo
commit: "carl9170: revamp carl9170_tx_prepare"
introduced a peculiar bug that would only show
up if the the module parameter noht is set to 1.
Then all outbound voice, video and background
frames would each invoke a (bogus) RTS/CTS
handshake.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/tx.c b/drivers/net/wireless/ath/carl9170/tx.c index b575c86..7e6506a 100644 --- a/drivers/net/wireless/ath/carl9170/tx.c +++ b/drivers/net/wireless/ath/carl9170/tx.c @@ -810,7 +810,7 @@ static int carl9170_tx_prepare(struct ar9170 *ar, struct sk_buff *skb) mac_tmp = cpu_to_le16(AR9170_TX_MAC_HW_DURATION | AR9170_TX_MAC_BACKOFF); - mac_tmp |= cpu_to_le16((hw_queue << AR9170_TX_MAC_QOS_S) && + mac_tmp |= cpu_to_le16((hw_queue << AR9170_TX_MAC_QOS_S) & AR9170_TX_MAC_QOS); no_ack = !!(info->flags & IEEE80211_TX_CTL_NO_ACK); |