[pkg-wpa-devel] [PATCH] add event hysteresis

Jason Lunz lunz at falooley.org
Sun Sep 24 14:06:03 UTC 2006


On Sun, Sep 24, 2006 at 11:53:58PM +1000, Kel Modderman wrote:
> Jason, how does the following patch look to you?

looks like it should work.

>  #####################################################################
> +## hysteresis checking
> +# Networking tools such as dhcp clients used with ifupdown can
> +# synthesize artificial ACTION events, particuarly just after a 
> +# DISCONNECTED event is encountered immediately after a CONNECTED
> +# event. This can lead to infinite event loops, and in extreme cases
> +# has the potential to cause system instability.

minor nitpick: In my case, the loop was provoked by an
DISCONNECTED/CONNECTED pair immediately after resume. Also, I don't know
what system instability you're referring to - maybe a buggy wireless
driver can be stressed by repeated reassociation? If that's the case,
though, i'd say the system's already unstable.

I agree it would be nice to do something a little more sophisticated,
but this works at least.

thanks,

Jason



More information about the Pkg-wpa-devel mailing list