diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-14 16:40:24 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-15 13:45:02 -0400 |
commit | 99ac8cd6ff44e733acdff0d36475dce2d3fe6a6b (patch) | |
tree | b0dde64ad9f644cdf80600b77a86c42fffb6ee92 /drivers/net/wireless/ath/ath9k/init.c | |
parent | 8efa7a813233affeafd9fd7770709e9bda6855b6 (diff) | |
download | talos-obmc-linux-99ac8cd6ff44e733acdff0d36475dce2d3fe6a6b.tar.gz talos-obmc-linux-99ac8cd6ff44e733acdff0d36475dce2d3fe6a6b.zip |
ath9k_hw: remove ath9k_hw_getdefantenna
The default antenna (as programmed by the INI file) is always 0 anyway.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 2708d1fc2c10..8cb37429b216 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -488,7 +488,6 @@ static void ath9k_init_misc(struct ath_softc *sc) setup_timer(&common->ani.timer, ath_ani_calibrate, (unsigned long)sc); sc->config.txpowlimit = ATH_TXPOWER_MAX; - sc->rx.defant = ath9k_hw_getdefantenna(sc->sc_ah); memcpy(common->bssidmask, ath_bcast_mac, ETH_ALEN); sc->beacon.slottime = ATH9K_SLOT_TIME_9; |