summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5416/ar5416_reset.c')
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_reset.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
index 525de4b..51ac0a1 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
@@ -746,19 +746,6 @@ ar5416SetRfMode(struct ath_hal *ah, const struct ieee80211_channel *chan)
AR_PHY_MODE_RF5GHZ : AR_PHY_MODE_RF2GHZ;
}
- /*
- * Set half/quarter mode flags if required.
- *
- * This doesn't change the IFS timings at all; that needs to
- * be done as part of the MAC setup. Similarly, the PLL
- * configuration also needs some changes for the half/quarter
- * rate clock.
- */
- if (IEEE80211_IS_CHAN_HALF(chan))
- rfMode |= AR_PHY_MODE_HALF;
- else if (IEEE80211_IS_CHAN_QUARTER(chan))
- rfMode |= AR_PHY_MODE_QUARTER;
-
OS_REG_WRITE(ah, AR_PHY_MODE, rfMode);
}
OpenPOWER on IntegriCloud