From: Giel van Schijndel Date: Wed, 7 Jan 2015 19:38:37 +0000 (+0100) Subject: wlcore: fix copy-paste bug: assign from src struct not dest X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96dae59155eb98dd0ba10e8fe5d130f425e406df;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git wlcore: fix copy-paste bug: assign from src struct not dest Signed-off-by: Giel van Schijndel Reported-at: http://www.viva64.com/en/b/0299/ Signed-off-by: Kalle Valo --- 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));