ath9k: Set IEEE80211_TX_CTL_RATE_CTRL_PROBE in rate control for probe rate
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Thu, 12 Mar 2009 10:02:54 +0000 (15:32 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:42 +0000 (20:12 -0400)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/rc.c

index 832735677a465740c6173208b0a1026e2df68c74..28d69da342cd50a7780be814de5beddb6e32c9b0 100644 (file)
@@ -864,6 +864,8 @@ static void ath_rc_ratefind(struct ath_softc *sc,
                                          rate_table, nrix, 1, 0);
                ath_rc_rate_set_series(rate_table, &rates[i++], txrc,
                                       try_per_rate, nrix, 0);
+
+               tx_info->flags |= IEEE80211_TX_CTL_RATE_CTRL_PROBE;
        } else {
                try_per_rate = (ATH_11N_TXMAXTRY/4);
                /* Set the choosen rate. No RTS for first series entry. */