diff options
author | Luciano Coelho <coelho@ti.com> | 2011-12-13 17:45:54 +0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-12-15 11:58:42 +0400 |
commit | 36b2082434e956e6048a26bbf4c14ad7488db153 (patch) | |
tree | 9135d5d8dd12f9b78b2b617f59bf0dfe144c2daf /drivers/net/wireless/wl12xx/acx.c | |
parent | 5de8eef4fdd2044f6981ebf62330720bcdba8ee3 (diff) | |
download | linux-36b2082434e956e6048a26bbf4c14ad7488db153.tar.xz |
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/acx.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/acx.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/net/wireless/wl12xx/acx.c b/drivers/net/wireless/wl12xx/acx.c index bde1d862bdd5..7537c401a448 100644 --- a/drivers/net/wireless/wl12xx/acx.c +++ b/drivers/net/wireless/wl12xx/acx.c @@ -186,32 +186,6 @@ out: return ret; } -int wl1271_acx_pd_threshold(struct wl1271 *wl) -{ - struct acx_packet_detection *pd; - int ret; - - wl1271_debug(DEBUG_ACX, "acx data pd threshold"); - - pd = kzalloc(sizeof(*pd), GFP_KERNEL); - if (!pd) { - ret = -ENOMEM; - goto out; - } - - pd->threshold = cpu_to_le32(wl->conf.rx.packet_detection_threshold); - - ret = wl1271_cmd_configure(wl, ACX_PD_THRESHOLD, pd, sizeof(*pd)); - if (ret < 0) { - wl1271_warning("failed to set pd threshold: %d", ret); - goto out; - } - -out: - kfree(pd); - return ret; -} - int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_slot_type slot_time) { |