From patchwork Mon Nov 30 19:50:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jussi Kivilinna X-Patchwork-Id: 63762 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAUJoHRQ012391 for ; Mon, 30 Nov 2009 19:50:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753076AbZK3TuJ (ORCPT ); Mon, 30 Nov 2009 14:50:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752871AbZK3TuJ (ORCPT ); Mon, 30 Nov 2009 14:50:09 -0500 Received: from saarni.dnainternet.net ([83.102.40.136]:42157 "EHLO saarni.dnainternet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752861AbZK3TuI (ORCPT ); Mon, 30 Nov 2009 14:50:08 -0500 Received: from localhost (localhost [127.0.0.1]) by saarni.dnainternet.net (Postfix) with ESMTP id 1285AE6ADA; Mon, 30 Nov 2009 21:50:14 +0200 (EET) X-Virus-Scanned: DNA Postiturva at dnainternet.net X-Spam-Flag: NO X-Spam-Score: 1.302 X-Spam-Level: * X-Spam-Status: No, score=1.302 tagged_above=-9999 required=6 tests=[AWL=-1.400, HELO_LH_HOME=2.602, RDNS_DYNAMIC=0.1] Received: from saarni.dnainternet.net ([83.102.40.136]) by localhost (saarni.dnainternet.net [127.0.0.1]) (amavisd-new, port 10041) with ESMTP id 166w5sIlvr9t; Mon, 30 Nov 2009 21:50:13 +0200 (EET) Received: from kirsikkapuu.dnainternet.net (kirsikkapuu.dnainternet.net [83.102.40.214]) by saarni.dnainternet.net (Postfix) with ESMTP id D60D457608; Mon, 30 Nov 2009 21:50:13 +0200 (EET) Received: from fate.lan (dyn2-85-23-163-66.psoas.suomi.net [85.23.163.66]) by kirsikkapuu.dnainternet.net (Postfix) with ESMTP id C4C277F001; Mon, 30 Nov 2009 21:50:13 +0200 (EET) From: Jussi Kivilinna Subject: [PATCH 2/2] rndis_wlan: copy module parameters for bcm4320a devices too To: "John W. Linville" Cc: linux-wireless@vger.kernel.org Date: Mon, 30 Nov 2009 21:50:13 +0200 Message-ID: <20091130195013.13062.47241.stgit@fate.lan> In-Reply-To: <20091130195007.13062.25776.stgit@fate.lan> References: <20091130195007.13062.25776.stgit@fate.lan> User-Agent: StGIT/0.14.2 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index 8dd9224..305c106 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c @@ -2642,6 +2642,11 @@ static void rndis_copy_module_params(struct usbnet *usbdev) static int bcm4320a_early_init(struct usbnet *usbdev) { + /* copy module parameters for bcm4320a so that iwconfig reports txpower + * and workaround parameter is copied to private structure correctly. + */ + rndis_copy_module_params(usbdev); + /* bcm4320a doesn't handle configuration parameters well. Try * set any and you get partially zeroed mac and broken device. */