Michael Buesch wrote:
> On Tuesday 08 August 2006 20:22, Tobias Diedrich wrote:
> > Good catch, if I change bcm43xx_sprom_extract so that it matches the
> > one from the other driver and does not call sprom_read
> > unconditionally, then I no longer get an oops.
> 
> Ok, so this change should be reverted. Care to do a patch?

Attached.

> > The ssid still seems to be stuck at BRCM_TEST_SSID though (in master
> > mode)...
> 
> Well, I think you did not properly initialize the
> card in master mode. It's not really trivial at the moment.
> Search the archives for a step-by-step description.

Thanks, I'm looking into it.  Do I need a patch for hostapd or is
the current cvs version sufficient?

-- 
Tobias                                          PGP: http://9ac7e0bc.uguu.de
--- drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c  2006-08-05 
20:32:39.000000000 +0000
+++ drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c  2006-08-08 
17:14:51.000000000 +0000
@@ -817,8 +817,6 @@
                return -ENOMEM;
        }
 
-       bcm43xx_sprom_read(bcm, sprom);
-
 #ifdef CONFIG_BCM947XX
        /* In the case some settings are found in nvram, use them
         * to override those read from sprom.
@@ -856,6 +854,8 @@
        c = nvram_get("boardrev");
        if (c)
                sprom[BCM43xx_SPROM_BOARDREV] = simple_strtoul(c, NULL, 0);
+#else
+       bcm43xx_sprom_read(bcm, sprom);
 #endif
 
        /* boardflags2 */
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://bat.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to