aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rndis_wlan.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2009-11-30 14:50:13 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-21 18:56:05 -0500
commit6e850af58f93be8f1b4b79eb9c79d06788f38e78 (patch)
tree4227e43e6efd14ee86e54f6123d8be5fd47cb7de /drivers/net/wireless/rndis_wlan.c
parentcef6e91280b724e93b0fb8a9fd3e6bf072f54c81 (diff)
rndis_wlan: copy module parameters for bcm4320a devices too
rndis_wlan didn't copy module parameters for bcm4320a to private structure. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r--drivers/net/wireless/rndis_wlan.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c
index 8dd9224c2d4e..305c106fdc1c 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)
2642 2642
2643static int bcm4320a_early_init(struct usbnet *usbdev) 2643static int bcm4320a_early_init(struct usbnet *usbdev)
2644{ 2644{
2645 /* copy module parameters for bcm4320a so that iwconfig reports txpower
2646 * and workaround parameter is copied to private structure correctly.
2647 */
2648 rndis_copy_module_params(usbdev);
2649
2645 /* bcm4320a doesn't handle configuration parameters well. Try 2650 /* bcm4320a doesn't handle configuration parameters well. Try
2646 * set any and you get partially zeroed mac and broken device. 2651 * set any and you get partially zeroed mac and broken device.
2647 */ 2652 */