Bin Zhang wrote:
> I'd like to test the patch (the only thing I cant do for helping as I
> don't know code).
> (once again, my ibook freeze after 5 hours uptimes, and I see
> Sep 8 00:07:40 localhost kernel: bcm43xx: Controller restarted
> in my syslog)
>
>> -------------------------------------------------------------------
>>
>>
>> Index: wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
>> ===================================================================
>> --- wireless-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c
>> +++ wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
>> @@ -3244,8 +3244,6 @@ static void bcm43xx_periodic_work_handle
>> * be preemtible.
>> */
>> mutex_lock(&bcm->mutex);
>> - netif_stop_queue(bcm->net_dev);
>
> The patch doesn't applied to 2.6.18-rcX :
> (there is no line mutex_lock(&bcm->mutex); )
> and same for wireless-2.6
Sorry about the confusion. I forgot that my copy of wireless-2.6 had some
changes that are not yet
in the official version. The proper patch to apply to wireless-2.6 for testing
is:
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
index 966815b..904ebd7 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -3151,7 +3151,6 @@ static void bcm43xx_periodic_work_handle
* be preemtible.
*/
netif_stop_queue(bcm->net_dev);
- synchronize_net();
spin_lock_irqsave(&bcm->irq_lock, flags);
bcm43xx_mac_suspend(bcm);
if (bcm43xx_using_pio(bcm))
Larry
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev