summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/init.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-13 15:45:54 +0200
committerLuciano Coelho <coelho@ti.com>2011-12-15 09:58:42 +0200
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 76625145e32..ca7ee59e450 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)
return 0;
}
-int wl1271_init_phy_config(struct wl1271 *wl)
-{
- int ret;
-
- ret = wl1271_acx_pd_threshold(wl);
- if (ret < 0)
- return ret;
-
- return 0;
-}
-
static int wl12xx_init_phy_vif_config(struct wl1271 *wl,
struct wl12xx_vif *wlvif)
{
@@ -706,11 +695,6 @@ int wl1271_hw_init(struct wl1271 *wl)
if (ret < 0)
goto out_free_memmap;
- /* PHY layer config */
- ret = wl1271_init_phy_config(wl);
- if (ret < 0)
- goto out_free_memmap;
-
ret = wl1271_acx_dco_itrim_params(wl);
if (ret < 0)
goto out_free_memmap;