wlcore: fix copy-paste bug: assign from src struct not dest
authorGiel van Schijndel <me@mortis.eu>
Wed, 7 Jan 2015 19:38:37 +0000 (20:38 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 23 Jan 2015 17:07:06 +0000 (19:07 +0200)
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>
drivers/net/wireless/ti/wlcore/acx.c

index b924ceadc02c4a5fcfd96530c986e65d9fc89f2b..f28fa3b5029d6f1a947fa8919783ccf65e265c84 100644 (file)
@@ -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));