From: Jouni Malinen Date: Mon, 11 Aug 2008 11:01:51 +0000 (+0300) Subject: ath9k: Fix TX control flag use for no ACK and RTS/CTS X-Git-Tag: v2.6.28-rc1~717^2~384^2~41 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b14ecdd0afa4f616fcd1fcff4b902e15334256c7;p=linux-2.6-omap-h63xx.git ath9k: Fix TX control flag use for no ACK and RTS/CTS Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath9k/xmit.c b/drivers/net/wireless/ath9k/xmit.c index e2ffa1cdb5e..55f3c8e5bbb 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.