aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorSujith Manoharan <Sujith.Manoharan@atheros.com>2010-12-14 21:17:23 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-15 17:04:06 -0500
commit64c6e50c0732b793e4bd5fd2954b7bef088f83f8 (patch)
tree8b8d7833f3f263ee1173a7116436b669f5f0da4d /drivers/net
parentbd2ce6e43f65127bc723e7fcc044758cf8113260 (diff)
ath9k_htc: Remove PCI specific configuration
This is not required for USB devices. Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
index 20ea75a44e52..dd17909bd903 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
@@ -1170,9 +1170,6 @@ static int ath9k_htc_start(struct ieee80211_hw *hw)
1170 /* setup initial channel */ 1170 /* setup initial channel */
1171 init_channel = ath9k_cmn_get_curchannel(hw, ah); 1171 init_channel = ath9k_cmn_get_curchannel(hw, ah);
1172 1172
1173 /* Reset SERDES registers */
1174 ath9k_hw_configpcipowersave(ah, 0, 0);
1175
1176 ath9k_hw_htc_resetinit(ah); 1173 ath9k_hw_htc_resetinit(ah);
1177 ret = ath9k_hw_reset(ah, init_channel, ah->caldata, false); 1174 ret = ath9k_hw_reset(ah, init_channel, ah->caldata, false);
1178 if (ret) { 1175 if (ret) {
@@ -1258,7 +1255,6 @@ static void ath9k_htc_stop(struct ieee80211_hw *hw)
1258 1255
1259 ath9k_hw_phy_disable(ah); 1256 ath9k_hw_phy_disable(ah);
1260 ath9k_hw_disable(ah); 1257 ath9k_hw_disable(ah);
1261 ath9k_hw_configpcipowersave(ah, 1, 1);
1262 ath9k_htc_ps_restore(priv); 1258 ath9k_htc_ps_restore(priv);
1263 ath9k_htc_setpower(priv, ATH9K_PM_FULL_SLEEP); 1259 ath9k_htc_setpower(priv, ATH9K_PM_FULL_SLEEP);
1264 1260