@@ -1244,8 +1244,11 @@ int wpa_supplicant_set_suites(struct wpa_supplicant *wpa_s,
const u8 *bss_wpa, *bss_rsn, *bss_osen;
if (ssid->mode == WPAS_MODE_INFRA && ssid->wpa_extended_key_id &&
+ ssid->proto & WPA_PROTO_RSN &&
+ ssid->pairwise_cipher & (WPA_CIPHER_CCMP | WPA_CIPHER_CCMP_256 |
+ WPA_CIPHER_GCMP | WPA_CIPHER_GCMP_256) &&
wpa_s->drv_flags & WPA_DRIVER_FLAGS_EXTENDED_KEY_ID) {
- wpa_msg(wpa_s, MSG_DEBUG, "Enable Extended Key ID support");
+ wpa_msg(wpa_s, MSG_INFO, "Enable Extended Key ID support");
wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_EXTENDED_KEY_ID, 1);
} else {
if (ssid->wpa_extended_key_id)
This is a correction on top of: [PATCH v6 11/17] wpa_supplicant: AP Extended Key ID support Changes: - Only enable Extended Key ID support when it actually can be used - and make this log message level info instead of debug Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de> --- wpa_supplicant/wpa_supplicant.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)