Hi Elmar,

On Mon, 11 Jun 2007 02:31:44 am Elmar Hoffmann wrote:
> When ifup of the wireless interface after association fails,
> wpa-supplicant happily stays connected (which is useless with an
> unusable interface) instead of reassociating (having more luck next
> time or eventually choosing a different AP).
>
> The attached patch fixes this.

Could the patch use the return value of ifup rather than grep'ing the ifstate 
file?

Also, this patch has the potential to bing back the "re-association storm" 
phenomenon that the wpa_hysteresis_{event,check} functions were designed to 
prevent. This could lead to an uncontrollable loop of failed re-association 
and failed ifup events.

>
> The interesting case of ifup failure is when using the old dhcp-client
> or a dhcp3-client with #420784 fixed, that properly fail when unable
> to acquire a lease.
> I've been successfully  using the latter with this patch for a while
> now.

Thanks, Kel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to