Johannes Berg <[EMAIL PROTECTED]> wrote: > > Yeah, thanks. I had realised that a while later but it was too late. > Note that this blows up for me anyway so don't apply: > > [ 416.448315] SoftMAC: Start scanning with channel: 1 > [ 416.448331] SoftMAC: Scanning 14 channels > [ 416.495245] NETDEV WATCHDOG: eth1: transmit timed out > [ 416.495265] bcm43xx: Controller RESET (TX timeout) ...
Right. You can't stop the queue for a period longer than the watchdog timeout (default is 5s) on the device. In fact there is a bug here in that neither bcm43xx nor the softmac layer is setting trans_start. Without that the message will trigger any time when you stop the queue and the watchdog timer fires while it's stopped. So I suggest that you first of all make sure that trans_start is set. Then you need to ask yourself is this going to take a longer time than a reasonable TX timeout. If the answer is no then you're fine. Otherwise you need to do something more drastic to stop the traffic. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html