privacy mismatch problems

Derek Scherger <[email protected]>
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
Hi, so a while ago, I was getting lots of errors like this:

May  7 09:18:58 [kernel] ipw2200: U ipw_best_network Network 'faceplant 
(00:15:e9:1c:16:60)' excluded because of privacy mismatch: off != on.

With these, I was unable to associate with my network. Occasionally, it 
would somehow become happy (rmmod/modprobe sometimes worked). However at 
some point, this became a total blocker and I was not able to get it 
working again.

I don't really understand the problem, but after poking around in the 
source a bit I found the code that's complaining in ipw_best_network:

    5750         /* Verify privacy compatability */
    5751 #if 0
    5752         if (((priv->capability & CAP_PRIVACY_ON) ? 1 : 0) !=
    5753             ((network->capability & WLAN_CAPABILITY_PRIVACY) ? 
1 : 0)) {
    5754                 IPW_DEBUG_ASSOC("Network '%s (" MAC_FMT ")' 
excluded "
    5755                                 "because of privacy mismatch: 
%s != %s.\n",
    5756                                 escape_essid(network->ssid, 
network->ssid_len),
    5757                                 MAC_ARG(network->bssid),
    5758                                 priv->capability & 
CAP_PRIVACY_ON ? "on" :
    5759                                 "off",
    5760                                 network->capability &
    5761                                 WLAN_CAPABILITY_PRIVACY ? "on" 
: "off");
    5762                 return 0;
    5763         }
    5764 #endif

I added the #if/#endif and rebuilt (as a very simple and blunt test) and 
things have been working quite fine since then. I've been running like 
this for a month or more now.

So, my question is this: is there some better way to control the 
"privacy" setting? I really don't expect that my "patch" is at all 
sensible, but it works for me (TM).

This is all running on gentoo on a dell xps laptop with a 2915 card.

ipw2200-1.1.2
wpa_supplicant-0.4.8
ieee80211-1.1.13-r1
kernel-2.6.16-gentoo-r3

Thanks for any info.

Cheers,
Derek



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.