I also found a small bug in the ProcessBssidList function of
placelab\native\wince\ndis_spotter\spotter.c. This function
uses the saw_ap function passed to it by Java_org_..._spotter_1poll(...)
in jni.c. The problem is that ProcessBssidList uses saw_ap as
it is declared in the function prototype at the top of spotter.c:
saw_ap(char *bssid, char *ssid, long rss, int infr, int wep);
whereas the definition of saw_ap (in jni.c) is:
saw_ap(char *bssid, char *ssid, int rss, int wep, int infrMode)
{...}
-> wep and infr are swapped, so the "aps" and "weps" fields
in the String array returned by the wince spotter are incorrect.
I'm considering this a "minor" bug because because I don't think
anyone is using those fields at this point anyway...
-- Evan
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
|