diff options
author | Luciano Coelho <coelho@ti.com> | 2011-12-13 08:45:54 -0500 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-12-15 02:58:42 -0500 |
commit | 36b2082434e956e6048a26bbf4c14ad7488db153 (patch) | |
tree | 9135d5d8dd12f9b78b2b617f59bf0dfe144c2daf /drivers/net/wireless/wl12xx/acx.c | |
parent | 5de8eef4fdd2044f6981ebf62330720bcdba8ee3 (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/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: | |||
186 | return ret; | 186 | return ret; |
187 | } | 187 | } |
188 | 188 | ||
189 | int wl1271_acx_pd_threshold(struct wl1271 *wl) | ||
190 | { | ||
191 | struct acx_packet_detection *pd; | ||
192 | int ret; | ||
193 | |||
194 | wl1271_debug(DEBUG_ACX, "acx data pd threshold"); | ||
195 | |||
196 | pd = kzalloc(sizeof(*pd), GFP_KERNEL); | ||
197 | if (!pd) { | ||
198 | ret = -ENOMEM; | ||
199 | goto out; | ||
200 | } | ||
201 | |||
202 | pd->threshold = cpu_to_le32(wl->conf.rx.packet_detection_threshold); | ||
203 | |||
204 | ret = wl1271_cmd_configure(wl, ACX_PD_THRESHOLD, pd, sizeof(*pd)); | ||
205 | if (ret < 0) { | ||
206 | wl1271_warning("failed to set pd threshold: %d", ret); | ||
207 | goto out; | ||
208 | } | ||
209 | |||
210 | out: | ||
211 | kfree(pd); | ||
212 | return ret; | ||
213 | } | ||
214 | |||
215 | int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, | 189 | int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, |
216 | enum acx_slot_type slot_time) | 190 | enum acx_slot_type slot_time) |
217 | { | 191 | { |