OSDN Git Service

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 b924cea..f28fa3b 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));