[pkg-wpa-devel] Bug#428304: should reassociate when ifup fails
Elmar Hoffmann
elho at elho.net
Sun Jun 10 16:31:44 UTC 2007
Package: wpasupplicant
Version: 0.6.0~cvs20070224-3
Severity: normal
Tags: patch
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.
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.
elmar
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.21
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages wpasupplicant depends on:
ii adduser 3.102 Add and remove users and groups
ii libc6 2.5-7 GNU C Library: Shared libraries
ii libdbus-1-3 1.0.2-5 simple interprocess messaging syst
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libreadline5 5.2-2 GNU readline and history libraries
ii libssl0.9.8 0.9.8e-5 SSL shared libraries
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
Versions of packages wpasupplicant recommends:
ii dhcp3-client 3.0.4-14 DHCP Client
-- no debconf information
--
.'"`. /"\
| :' : Elmar Hoffmann <elho at elho.net> ASCII Ribbon Campaign \ /
`. `' GPG key available via pgp.net against HTML email X
`- & vCards / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wpasupplicant-reassociate_on_failed_ifup.diff
Type: text/x-diff
Size: 943 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20070610/250d879f/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20070610/250d879f/attachment.pgp
More information about the Pkg-wpa-devel
mailing list