On Fri, Mar 18, 2005 at 02:09:02PM +0100, Norbert Preining wrote:
> No Idea about it works or not (no wireless lan here in Uruguay), but I
> believe that from my trivial understanding of the code the following
> patch should do the trick, or am I wrong:
> --- wpa.c.orig        2005-03-15 01:13:35.000000000 -0300
> +++ wpa.c     2005-03-15 01:35:58.000000000 -0300
> @@ -841,6 +841,15 @@
>                       return entry;
>               entry = entry->next;
>       }
> +     /* Now check on ssid "*" which should match all ssids */
> +     entry = wpa_s->conf->ssid;
> +     while (entry) {
> +             if (memcmp("*", entry->ssid, 1) == 0 &&
> +                 (!entry->bssid_set ||
> +                  memcmp(bssid, entry->bssid, ETH_ALEN) == 0))
> +                     return entry;
> +             entry = entry->next;
> +     }
>  
>       return NULL;
>  }
> 
> Ok, it may not be the optimal solution in time terms, but who hast
> 1000s of config entries, so searching the list twice is not soo bad ;-)
> 
> If someone can confirm that this is working, I would be quite happy,
> otherwise I am looking for a proper (i.e. not my stupid trial) fix!

It looks a bit too simple I would say, and still with it applied I get:
"No suitable AP found." for an open cell. :(

This is with the following added in my config, I guess that was how it
was supposed to be? right?

        network={
                ssid="*"
                key_mgmt=NONE
                priority=100
        }

I'm happy to try all patches posted to this bug and hopefully getting
one of them to finally work. (:
--
/Martin


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

Reply via email to