Ehud Gavron wrote:
Patch with debug on or off both fail.
I'm unable to apply Michael's patch to either a virgin test or virgin
wireless-dev tree (I rm -rf'd both and re git clone'd them)
It works here. Again there must be a white-space problem with the patch. A
working version is attached.
Larry
Subject: bcm43xx-mac80211: Reorder starting of wireless core.
Reorder the starting of the wireless core.
First set the "we are ready to go" status and then poke operation.
Signed-off-by: Michael Buesch <[EMAIL PROTECTED]>
Index: wireless-dev/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_main.c
===================================================================
--- wireless-dev.orig/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_main.c
2007-08-08 19:32:05.000000000 +0200
+++ wireless-dev/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_main.c
2007-08-08 20:10:36.000000000 +0200
@@ -3086,13 +3086,18 @@ static int bcm43xx_wireless_core_start(s
dev->dev->irq);
goto out;
}
+
+ /* We are ready to run. */
+ bcm43xx_set_status(dev, BCM43xx_STAT_STARTED);
+
+ /* Start data flow (TX/RX). */
bcm43xx_mac_enable(dev);
+ bcm43xx_interrupt_enable(dev, dev->irq_savedstate);
+ ieee80211_start_queues(dev->wl->hw);
+ /* Start maintainance work */
bcm43xx_periodic_tasks_setup(dev);
- ieee80211_start_queues(dev->wl->hw);
- bcm43xx_set_status(dev, BCM43xx_STAT_STARTED);
- bcm43xx_interrupt_enable(dev, dev->irq_savedstate);
bcmdbg(dev->wl, "Wireless interface started\n");
out:
return err;
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev