Lines 3141-3147
static u8 * wpas_populate_assoc_ies(
Link Here
|
3141 |
else |
3141 |
else |
3142 |
wpa_drv_get_ext_capa(wpa_s, WPA_IF_STATION); |
3142 |
wpa_drv_get_ext_capa(wpa_s, WPA_IF_STATION); |
3143 |
|
3143 |
|
|
|
3144 |
#if 1 |
3145 |
int got_ie = 0; |
3146 |
if (!bss) |
3147 |
if (wpa_bss_get_ie_ext(bss, WLAN_EID_EXT_CAPAB)) |
3148 |
got_ie = 1; |
3149 |
else if (wpa_bss_get_ie(bss, WLAN_EID_EXT_CAPAB)) |
3150 |
got_ie = 1; |
3151 |
if (!bss || got_ie) { |
3152 |
#else |
3144 |
if (!bss || wpa_bss_get_ie(bss, WLAN_EID_EXT_CAPAB)) { |
3153 |
if (!bss || wpa_bss_get_ie(bss, WLAN_EID_EXT_CAPAB)) { |
|
|
3154 |
#endif |
3145 |
u8 ext_capab[18]; |
3155 |
u8 ext_capab[18]; |
3146 |
int ext_capab_len; |
3156 |
int ext_capab_len; |
3147 |
ext_capab_len = wpas_build_ext_capab(wpa_s, ext_capab, |
3157 |
ext_capab_len = wpas_build_ext_capab(wpa_s, ext_capab, |