This crashes otherwise. Signed-off-by: Michael Buesch <mb@xxxxxxxxx> Index: wireless-dev-new/drivers/net/wireless/b43/main.c =================================================================== --- wireless-dev-new.orig/drivers/net/wireless/b43/main.c 2007-08-12 20:17:01.000000000 +0200 +++ wireless-dev-new/drivers/net/wireless/b43/main.c 2007-08-12 20:17:07.000000000 +0200 @@ -3619,6 +3619,11 @@ static int b43_wireless_core_attach(stru * that in core_init(), too. */ + err = ssb_bus_powerup(bus, 0); + if (err) { + bcmerr(wl, "Bus powerup failed\n"); + goto out; + } /* Get the PHY type. */ if (dev->dev->id.revision >= 5) { u32 tmshigh; @@ -3637,7 +3642,7 @@ static int b43_wireless_core_attach(stru /* Initialize LEDs structs. */ err = b43_leds_init(dev); if (err) - goto out; + goto err_powerdown; dev->phy.gmode = (have_gphy || have_bphy); tmp = dev->phy.gmode ? B43_TMSLOW_GMODE : 0; @@ -3689,11 +3694,13 @@ static int b43_wireless_core_attach(stru ssb_device_disable(dev->dev, 0); ssb_bus_may_powerdown(bus); - out: +out: return err; - err_leds_exit: +err_leds_exit: b43_leds_exit(dev); +err_powerdown: + ssb_bus_may_powerdown(bus); return err; } -- - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html