aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/init.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-13 08:45:54 -0500
committerLuciano Coelho <coelho@ti.com>2011-12-15 02:58:42 -0500
commit36b2082434e956e6048a26bbf4c14ad7488db153 (patch)
tree9135d5d8dd12f9b78b2b617f59bf0dfe144c2daf /drivers/net/wireless/wl12xx/init.c
parent5de8eef4fdd2044f6981ebf62330720bcdba8ee3 (diff)
wl12xx: remove deprecated packet detection threshold config
The ACX_PD_THRESHOLD configuration command is deprecated and should not be used anymore. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/init.c')
-rw-r--r--drivers/net/wireless/wl12xx/init.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/net/wireless/wl12xx/init.c b/drivers/net/wireless/wl12xx/init.c
index 76625145e32e..ca7ee59e4505 100644
--- a/drivers/net/wireless/wl12xx/init.c
+++ b/drivers/net/wireless/wl12xx/init.c
@@ -223,17 +223,6 @@ static int wl12xx_init_rx_config(struct wl1271 *wl)
223 return 0; 223 return 0;
224} 224}
225 225
226int wl1271_init_phy_config(struct wl1271 *wl)
227{
228 int ret;
229
230 ret = wl1271_acx_pd_threshold(wl);
231 if (ret < 0)
232 return ret;
233
234 return 0;
235}
236
237static int wl12xx_init_phy_vif_config(struct wl1271 *wl, 226static int wl12xx_init_phy_vif_config(struct wl1271 *wl,
238 struct wl12xx_vif *wlvif) 227 struct wl12xx_vif *wlvif)
239{ 228{
@@ -706,11 +695,6 @@ int wl1271_hw_init(struct wl1271 *wl)
706 if (ret < 0) 695 if (ret < 0)
707 goto out_free_memmap; 696 goto out_free_memmap;
708 697
709 /* PHY layer config */
710 ret = wl1271_init_phy_config(wl);
711 if (ret < 0)
712 goto out_free_memmap;
713
714 ret = wl1271_acx_dco_itrim_params(wl); 698 ret = wl1271_acx_dco_itrim_params(wl);
715 if (ret < 0) 699 if (ret < 0)
716 goto out_free_memmap; 700 goto out_free_memmap;