Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 150369 Details for
Bug 218475
sys-apps/openrc-0.2.2: error in iwconfig.sh when associate_order="forcepreferredonly"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix the issue
iwconfig.patch (text/plain), 1.12 KB, created by
Roy Marples
on 2008-04-20 10:26:24 UTC
(
hide
)
Description:
Fix the issue
Filename:
MIME Type:
Creator:
Roy Marples
Created:
2008-04-20 10:26:24 UTC
Size:
1.12 KB
patch
obsolete
>diff --git a/net/iwconfig.sh.BSD.in b/net/iwconfig.sh.BSD.in >index 3a276cd..813fd2f 100644 >--- a/net/iwconfig.sh.BSD.in >+++ b/net/iwconfig.sh.BSD.in >@@ -414,8 +414,9 @@ iwconfig_connect_preferred() > [ $# = 0 ] && eval set -- $(_flatten_array "preferred_aps") > [ $# = 0 ] && return 1 > >- local ssid= i=0 mode= mac= caps= freq= chan= >+ local ssid= i= mode= mac= caps= freq= chan= > for ssid; do >+ i=0 > while [ ${i} -le ${APS} ] ; do > eval e=\$SSID_${i} > if [ "${e}" = "${ssid}" ] ; then >@@ -484,7 +485,7 @@ iwconfig_defaults() > > iwconfig_configure() > { >- local x APS >+ local x= APS=-1 > eval SSID=\$ssid_${IFVAR} > > # Setup ad-hoc mode? >diff --git a/net/iwconfig.sh.Linux.in b/net/iwconfig.sh.Linux.in >index 1610cba..85b6cb6 100644 >--- a/net/iwconfig.sh.Linux.in >+++ b/net/iwconfig.sh.Linux.in >@@ -525,7 +525,7 @@ iwconfig_force_preferred() > i=$((${i} + 1)) > done > if ! ${found_AP}; then >- SSID=${e} >+ SSID=${ssid} > iwconfig_associate && return 0 > fi > done >@@ -610,7 +610,7 @@ iwconfig_defaults() > > iwconfig_configure() > { >- local x= APS= >+ local x= APS=-1 > eval SSID=\$ssid_${IFVAR} > > # Support old variable
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 218475
: 150369