mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-12 12:22:42 +00:00
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>
This commit is contained in:
parent
147583c057
commit
b14ecdd0af
@ -357,9 +357,9 @@ static int ath_tx_prepare(struct ath_softc *sc,
|
|||||||
txctl->flags = ATH9K_TXDESC_CLRDMASK; /* needed for crypto errors */
|
txctl->flags = ATH9K_TXDESC_CLRDMASK; /* needed for crypto errors */
|
||||||
|
|
||||||
if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK)
|
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)
|
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.
|
* Setup for rate calculations.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user