diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-12-23 18:58:43 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:31 -0500 |
commit | ecf70441a3d53dd96cb1b454060fe39f9c3db301 (patch) | |
tree | aaabbb86eeee05ba394f9d1f721d806c96e8dc61 /drivers/net/wireless/ath9k/rc.c | |
parent | c9e27d94f5fc726f88897914025619fbfc18b23c (diff) |
ath9k: make use of conf_is_ht*() in the rest of the driver
Use shiny new conf_is_ht*() helpers, we can later remove ht.enabled if
desired.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.c')
-rw-r--r-- | drivers/net/wireless/ath9k/rc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c index 1b71b934bb5e..0686a7c9ced4 100644 --- a/drivers/net/wireless/ath9k/rc.c +++ b/drivers/net/wireless/ath9k/rc.c | |||
@@ -875,7 +875,7 @@ static void ath_rc_ratefind(struct ath_softc *sc, | |||
875 | * above conditions. | 875 | * above conditions. |
876 | */ | 876 | */ |
877 | if ((sc->hw->conf.channel->band == IEEE80211_BAND_2GHZ) && | 877 | if ((sc->hw->conf.channel->band == IEEE80211_BAND_2GHZ) && |
878 | (sc->hw->conf.ht.enabled)) { | 878 | (conf_is_ht(&sc->hw->conf))) { |
879 | u8 dot11rate = rate_table->info[rix].dot11rate; | 879 | u8 dot11rate = rate_table->info[rix].dot11rate; |
880 | u8 phy = rate_table->info[rix].phy; | 880 | u8 phy = rate_table->info[rix].phy; |
881 | if (i == 4 && | 881 | if (i == 4 && |
@@ -1511,7 +1511,7 @@ static void ath_get_rate(void *priv, struct ieee80211_sta *sta, void *priv_sta, | |||
1511 | tx_info, &is_probe, false); | 1511 | tx_info, &is_probe, false); |
1512 | 1512 | ||
1513 | /* Check if aggregation has to be enabled for this tid */ | 1513 | /* Check if aggregation has to be enabled for this tid */ |
1514 | if (hw->conf.ht.enabled) { | 1514 | if (conf_is_ht(&hw->conf)) { |
1515 | if (ieee80211_is_data_qos(fc)) { | 1515 | if (ieee80211_is_data_qos(fc)) { |
1516 | u8 *qc, tid; | 1516 | u8 *qc, tid; |
1517 | struct ath_node *an; | 1517 | struct ath_node *an; |