Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #651: 0.9.2.iwconfig-wep.patch

File 0.9.2.iwconfig-wep.patch, 0.7 kB (added by schmidt@, 13 years ago)

Patch for 0.9.2 to set auth scheme depending on privacy status

  • madwifi-0.9.2/net80211/ieee80211_wireless.c

    old new  
    307307                        else 
    308308                                vap->iv_flags &= ~IEEE80211_F_DROPUNENC; 
    309309                }        
     310                /* 
     311                 * Update the authentication mode 
     312                 */ 
     313                if (vap->iv_flags & IEEE80211_F_PRIVACY) 
     314                    vap->iv_bss->ni_authmode = IEEE80211_AUTH_SHARED; 
     315                else 
     316                    vap->iv_bss->ni_authmode = IEEE80211_AUTH_OPEN; 
     317 
    310318        } 
    311319        if (error == 0 && IS_UP(vap->iv_dev)) { 
    312320                /*