aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_cmd.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2009-10-13 05:47:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:08 -0400
commit45b531a86f93c82d8e390e19a6258111b3627bb0 (patch)
tree8e574f2332a6f91666e5f1830204d624535cbb69 /drivers/net/wireless/wl12xx/wl1271_cmd.c
parent8793f9bb19c00b26532e37f1f516e1d9c7bc0476 (diff)
wl1271: Add config structure for TX path parameters
Add a configuration structure for TX path parameters, and set defalt configuration values there. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_cmd.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.c b/drivers/net/wireless/wl12xx/wl1271_cmd.c
index c7a8a64d18d..f05bd7797fb 100644
--- a/drivers/net/wireless/wl12xx/wl1271_cmd.c
+++ b/drivers/net/wireless/wl12xx/wl1271_cmd.c
@@ -626,9 +626,9 @@ int wl1271_cmd_template_set(struct wl1271 *wl, u16 template_id,
626 626
627 cmd->len = cpu_to_le16(buf_len); 627 cmd->len = cpu_to_le16(buf_len);
628 cmd->template_type = template_id; 628 cmd->template_type = template_id;
629 cmd->enabled_rates = ACX_RATE_MASK_UNSPECIFIED; 629 cmd->enabled_rates = wl->conf.tx.rc_conf.enabled_rates;
630 cmd->short_retry_limit = ACX_RATE_RETRY_LIMIT; 630 cmd->short_retry_limit = wl->conf.tx.rc_conf.short_retry_limit;
631 cmd->long_retry_limit = ACX_RATE_RETRY_LIMIT; 631 cmd->long_retry_limit = wl->conf.tx.rc_conf.long_retry_limit;
632 632
633 if (buf) 633 if (buf)
634 memcpy(cmd->template_data, buf, buf_len); 634 memcpy(cmd->template_data, buf, buf_len);