diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2008-08-11 11:01:51 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 20:24:04 (GMT) |
commit | b14ecdd0afa4f616fcd1fcff4b902e15334256c7 (patch) | |
tree | 69a09c23be0b57839e4069860e12fb1949e4a526 | |
parent | 147583c057c43095925b5f331fe304f2d5b997ba (diff) | |
download | linux-fsl-qoriq-b14ecdd0afa4f616fcd1fcff4b902e15334256c7.tar.xz |
ath9k: Fix TX control flag use for no ACK and RTS/CTS
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath9k/xmit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/xmit.c b/drivers/net/wireless/ath9k/xmit.c index e2ffa1cd..55f3c8e 100644 --- a/drivers/net/wireless/ath9k/xmit.c +++ b/drivers/net/wireless/ath9k/xmit.c @@ -357,9 +357,9 @@ static int ath_tx_prepare(struct ath_softc *sc, txctl->flags = ATH9K_TXDESC_CLRDMASK; /* needed for crypto errors */ if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK) - tx_info->flags |= ATH9K_TXDESC_NOACK; + txctl->flags |= ATH9K_TXDESC_NOACK; if (tx_info->flags & IEEE80211_TX_CTL_USE_RTS_CTS) - tx_info->flags |= ATH9K_TXDESC_RTSENA; + txctl->flags |= ATH9K_TXDESC_RTSENA; /* * Setup for rate calculations. |