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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
---

--- 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: pgpQQHyhoVv7C.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux