summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiel van Schijndel <me@mortis.eu>2015-01-07 20:38:37 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-01-23 19:07:06 +0200
commit96dae59155eb98dd0ba10e8fe5d130f425e406df (patch)
tree1cda5fc3864b6ca6161784aca4cd251144a95cc4
parent09bd197659ae6e9e0ad67b08fb4fe7420a292387 (diff)
wlcore: fix copy-paste bug: assign from src struct not dest
Signed-off-by: Giel van Schijndel <me@mortis.eu> Reported-at: http://www.viva64.com/en/b/0299/ Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/net/wireless/ti/wlcore/acx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/acx.c b/drivers/net/wireless/ti/wlcore/acx.c
index b924ceadc02c..f28fa3b5029d 100644
--- a/drivers/net/wireless/ti/wlcore/acx.c
+++ b/drivers/net/wireless/ti/wlcore/acx.c
@@ -1725,7 +1725,7 @@ int wl12xx_acx_config_hangover(struct wl1271 *wl)
acx->decrease_delta = conf->decrease_delta;
acx->quiet_time = conf->quiet_time;
acx->increase_time = conf->increase_time;
- acx->window_size = acx->window_size;
+ acx->window_size = conf->window_size;
ret = wl1271_cmd_configure(wl, ACX_CONFIG_HANGOVER, acx,
sizeof(*acx));