On Mit, 16 Mär 2005, Martin Samuelsson wrote: > On Mon, Mar 14, 2005 at 06:45:38PM -0500, Kyle McMartin wrote: > > I'm working on a patch for this, but have been exceedingly busy for this. > > > > Expect an upload soonish, hopefully. > > Terrific!
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! Best wishes and thanks a lot Norbert ------------------------------------------------------------------------------- Norbert Preining <preining AT logic DOT at> Universitā di Siena sip:[EMAIL PROTECTED] +43 (0) 59966-690018 gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- KENTUCKEY (adv.) Fitting exactly and satisfyingly. The cardboard box that slides neatly into an exact space in a garage, or the last book which exactly fills a bookshelf, is said to fit 'real nice and kentuckey'. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]