Ticket #241: hostapd.patch
| File hostapd.patch, 0.8 kB (added by Charles Bovy <charles@bovy.nl>, 6 years ago) |
|---|
-
hostapd-0.5.0/driver_madwifi.c
old new 696 696 printf("Failed to get WPA/RSN information element.\n"); 697 697 return -1; /* XXX not right */ 698 698 } 699 ielen = ie. wpa_ie[1];699 ielen = ie.rsn_ie[1]; 700 700 if (ielen == 0) { 701 701 printf("No WPA/RSN information element for station!?\n"); 702 702 return -1; /* XXX not right */ … … 709 709 return -1; 710 710 } 711 711 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, 712 ie. wpa_ie, ielen);712 ie.rsn_ie, ielen); 713 713 if (res != WPA_IE_OK) { 714 714 printf("WPA/RSN information element rejected? (res %u)\n", res); 715 715 return -1;
