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 #241: hostapd.patch

File hostapd.patch, 0.8 kB (added by Charles Bovy <charles@bovy.nl>, 14 years ago)

RSN only patch for hostapd

  • hostapd-0.5.0/driver_madwifi.c

    old new  
    696696                printf("Failed to get WPA/RSN information element.\n"); 
    697697                return -1;              /* XXX not right */ 
    698698        } 
    699         ielen = ie.wpa_ie[1]; 
     699        ielen = ie.rsn_ie[1]; 
    700700        if (ielen == 0) { 
    701701                printf("No WPA/RSN information element for station!?\n"); 
    702702                return -1;              /* XXX not right */ 
     
    709709                return -1; 
    710710        } 
    711711        res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, 
    712                                   ie.wpa_ie, ielen); 
     712                                  ie.rsn_ie, ielen); 
    713713        if (res != WPA_IE_OK) { 
    714714                printf("WPA/RSN information element rejected? (res %u)\n", res); 
    715715                return -1;