summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@nokia.com>2009-12-11 15:40:49 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-12-28 16:31:31 -0500
commitac9b40fac6983ab30e8b5019a5d2abda200c89d5 (patch)
tree28311e0ea33632e566e3a790cc4e982b020efa64 /drivers/net
parentbdcbbb947be9778f740797a2bfc69c44a0d54776 (diff)
downloadblackbird-obmc-linux-ac9b40fac6983ab30e8b5019a5d2abda200c89d5.tar.gz
blackbird-obmc-linux-ac9b40fac6983ab30e8b5019a5d2abda200c89d5.zip
wl1271: use the correct macro when setting the basic rates
We were using CONF_TX_RATE_MASK_ALL when calling wl1271_acx_rate_policies() during init. We should use WL1271_DEFAULT_BASIC_RATE_SET instead. The values are the same, but the latter is just the correct macro to use. Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_init.c b/drivers/net/wireless/wl12xx/wl1271_init.c
index 11249b436cf1..d72ccc68b855 100644
--- a/drivers/net/wireless/wl12xx/wl1271_init.c
+++ b/drivers/net/wireless/wl12xx/wl1271_init.c
@@ -280,7 +280,7 @@ int wl1271_hw_init(struct wl1271 *wl)
goto out_free_memmap;
/* Configure TX rate classes */
- ret = wl1271_acx_rate_policies(wl, CONF_TX_RATE_MASK_ALL);
+ ret = wl1271_acx_rate_policies(wl, WL1271_DEFAULT_BASIC_RATE_SET);
if (ret < 0)
goto out_free_memmap;
OpenPOWER on IntegriCloud