Re: Wireless issues (was Re: 2.6.16-rc1-mm1

From: Valdis . Kletnieks
Date: Thu Jan 19 2006 - 02:33:16 EST


On Wed, 18 Jan 2006 14:56:19 PST, Andrew Morton said:

> There are orinoco changes in git-pcmcia.patch. Could you try reverting
> add-support-for-possio-gcc-aka-pcmcia-siemens-mc45.patch and then
> git-pcmcia.patch?

It turns out that we lost the initialization for the 'config_info_t conf;', so
the compare to conf.Vcc was broken. Here's a works-for-me patch.

Signed-Off-By: Valdis Kletnieks <valdis.kletnieks@xxxxxx>
---

--- linux-2.6.16-rc1-mm1/drivers/net/wireless/orinoco_cs.c.v1 2006-01-19 01:52:03.000000000 -0500
+++ linux-2.6.16-rc1-mm1/drivers/net/wireless/orinoco_cs.c 2006-01-19 02:21:25.000000000 -0500
@@ -205,6 +205,10 @@ orinoco_cs_config(struct pcmcia_device *
/* Configure card */
link->state |= DEV_CONFIG;

+ /* Look up the current Vcc */
+ CS_CHECK(GetConfigurationInfo,
+ pcmcia_get_configuration_info(link, &conf));
+
/*
* In this loop, we scan the CIS for configuration table
* entries, each of which describes a valid card

Attachment: pgp00000.pgp
Description: PGP signature