diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-12-07 11:13:10 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 13:48:24 -0500 |
commit | f6688cd8af6260ad4717ce45d2a614633fcf5540 (patch) | |
tree | afbb0d814677e485a973344171fe2a8be7c45fe9 /drivers/net/wireless/ath9k/main.c | |
parent | 817e11de2d3392041a70c80a6d5b353ad210f276 (diff) |
ath9k: Remove remaining occurrences of CONFIG_SLOW_ANT_DIV
Slow Antenna Diversity has been removed, these are remnants
of the old code.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 272f806f70cb..44459d7c5469 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -1513,11 +1513,6 @@ static int ath_init(u16 devid, struct ath_softc *sc) | |||
1513 | /* save MISC configurations */ | 1513 | /* save MISC configurations */ |
1514 | sc->sc_config.swBeaconProcess = 1; | 1514 | sc->sc_config.swBeaconProcess = 1; |
1515 | 1515 | ||
1516 | #ifdef CONFIG_SLOW_ANT_DIV | ||
1517 | /* range is 40 - 255, we use something in the middle */ | ||
1518 | ath_slow_ant_div_init(&sc->sc_antdiv, sc, 0x127); | ||
1519 | #endif | ||
1520 | |||
1521 | /* setup channels and rates */ | 1516 | /* setup channels and rates */ |
1522 | 1517 | ||
1523 | sc->sbands[IEEE80211_BAND_2GHZ].channels = | 1518 | sc->sbands[IEEE80211_BAND_2GHZ].channels = |
@@ -2129,9 +2124,6 @@ static void ath9k_remove_interface(struct ieee80211_hw *hw, | |||
2129 | 2124 | ||
2130 | DPRINTF(sc, ATH_DBG_CONFIG, "Detach Interface\n"); | 2125 | DPRINTF(sc, ATH_DBG_CONFIG, "Detach Interface\n"); |
2131 | 2126 | ||
2132 | #ifdef CONFIG_SLOW_ANT_DIV | ||
2133 | ath_slow_ant_div_stop(&sc->sc_antdiv); | ||
2134 | #endif | ||
2135 | /* Stop ANI */ | 2127 | /* Stop ANI */ |
2136 | del_timer_sync(&sc->sc_ani.timer); | 2128 | del_timer_sync(&sc->sc_ani.timer); |
2137 | 2129 | ||