From patchwork Wed Jan 7 19:38:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giel van Schijndel X-Patchwork-Id: 5587991 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6E7659F1C5 for ; Wed, 7 Jan 2015 19:39:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9F16C20219 for ; Wed, 7 Jan 2015 19:39:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D25112037F for ; Wed, 7 Jan 2015 19:39:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754613AbbAGTjD (ORCPT ); Wed, 7 Jan 2015 14:39:03 -0500 Received: from khitomer.mortis.eu ([185.27.175.75]:20284 "EHLO khitomer.mortis.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754084AbbAGTjC (ORCPT ); Wed, 7 Jan 2015 14:39:02 -0500 Received: from salidar.dom.custoft.eu (dom.custoft.eu [80.100.200.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Giel van Schijndel", Issuer "CAcert Class 3 Root" (verified OK)) by khitomer.mortis.eu (Postfix) with ESMTPS id 0F485823; Wed, 7 Jan 2015 20:39:00 +0100 (CET) Received: by salidar.dom.custoft.eu (Postfix, from userid 2079) id A7CFD2C8111; Wed, 7 Jan 2015 20:38:59 +0100 (CET) From: Giel van Schijndel To: linux-kernel@vger.kernel.org Cc: Giel van Schijndel , Kalle Valo , "John W. Linville" , Eliad Peller , Arik Nemtsov , linux-wireless@vger.kernel.org (open list:TI WILINK WIRELES...), netdev@vger.kernel.org (open list:NETWORKING DRIVERS) Subject: [PATCH RESEND 1/2] wlcore: fix copy-paste bug: assign from src struct not dest Date: Wed, 7 Jan 2015 20:38:37 +0100 Message-Id: <1420659525-22975-1-git-send-email-me@mortis.eu> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1420394427-19509-1-git-send-email-me@mortis.eu> References: <1420394427-19509-1-git-send-email-me@mortis.eu> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Giel van Schijndel Reported-at: http://www.viva64.com/en/b/0299/ --- drivers/net/wireless/ti/wlcore/acx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wlcore/acx.c b/drivers/net/wireless/ti/wlcore/acx.c index b924cea..f28fa3b 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));