Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46198 Details for
Bug 74637
WPA association problems with wpa_supplicant helper in baselayout-1.11.8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixed assocation and file location and brings iface up
wpa_supplicant.patch (text/plain), 1.13 KB, created by
Roy Marples (RETIRED)
on 2004-12-17 02:30:18 UTC
(
hide
)
Description:
fixed assocation and file location and brings iface up
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2004-12-17 02:30:18 UTC
Size:
1.13 KB
patch
obsolete
>--- wpa_supplicant 2004-12-08 19:52:00.000000000 +0000 >+++ /lib/rcscripts/net.modules.d/wpa_supplicant 2004-12-17 10:10:14.917604273 +0000 >@@ -11,7 +11,7 @@ > } > > wpa_cli() { >- LC_ALL=C /usr/sbin/wpa_cli "$@" >+ LC_ALL=C /usr/bin/wpa_cli "$@" > } > > # char* wpa_supplicant_provides(void) >@@ -82,12 +82,12 @@ > # Note that just because we are associated does not mean we are using the > # correct encryption keys > wpa_supplicant_associated() { >- local -a status=( $( wpa_cli -i${1} status | awk -F= '/^key_mgmt|^wpa_state|^decision/ { print $2 }' ) ) >+ local -a status=( $( wpa_cli -i${1} status | awk -F= '/^key_mgmt|^wpa_state/ { print $2 }' ) ) > > if [[ ${status[0]} == NONE ]]; then > [[ ${status[1]} == ASSOCIATED ]] > else >- [[ ${status[2]} == COND_SUCC ]] >+ [[ ${status[1]} == COMPLETED ]] > fi > return $? > } >@@ -117,6 +117,9 @@ > local pid=$( ps --no-headers -fC wpa_supplicant 2>/dev/null | awk '/-i'${iface}'/ { print $2 }' ) > [[ -n ${pid} ]] && kill -s TERM ${pid} > >+ # Some drivers require the interface to be up >+ interface_up ${iface} >+ > if ! wpa_supplicant ${opts} -B -c/etc/wpa_supplicant.conf -i${iface} ; then > eend 1 > return 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 74637
:
46149
| 46198 |
49371