From: Jouni Malinen Date: Sun, 7 Feb 2021 14:43:54 +0000 (+0200) Subject: Rename INTERWORKING_BLACKLISTED define X-Git-Tag: hostap_2_10~609 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58ac90c38b5aee776ac52cbbc1f63e042f564c9;p=thirdparty%2Fhostap.git Rename INTERWORKING_BLACKLISTED define Use more accurate INTERWORKING_EXCLUDED for this. The actual event prefix is not changed to remains compatible with external components using this control interface event message. Signed-off-by: Jouni Malinen --- diff --git a/src/common/wpa_ctrl.h b/src/common/wpa_ctrl.h index 5688b6fdb..126a7892c 100644 --- a/src/common/wpa_ctrl.h +++ b/src/common/wpa_ctrl.h @@ -271,7 +271,7 @@ extern "C" { #define P2P_EVENT_P2PS_PROVISION_DONE "P2PS-PROV-DONE " #define INTERWORKING_AP "INTERWORKING-AP " -#define INTERWORKING_BLACKLISTED "INTERWORKING-BLACKLISTED " +#define INTERWORKING_EXCLUDED "INTERWORKING-BLACKLISTED " #define INTERWORKING_NO_MATCH "INTERWORKING-NO-MATCH " #define INTERWORKING_ALREADY_CONNECTED "INTERWORKING-ALREADY-CONNECTED " #define INTERWORKING_SELECTED "INTERWORKING-SELECTED " diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c index 5f9d1dced..1ff142a8d 100644 --- a/wpa_supplicant/interworking.c +++ b/wpa_supplicant/interworking.c @@ -2482,7 +2482,7 @@ static void interworking_select_network(struct wpa_supplicant *wpa_s) bss_load = cred_over_max_bss_load(wpa_s, cred, bss); conn_capab = cred_conn_capab_missing(wpa_s, cred, bss); wpa_msg(wpa_s, MSG_INFO, "%s" MACSTR " type=%s%s%s%s id=%d priority=%d sp_priority=%d", - excluded ? INTERWORKING_BLACKLISTED : INTERWORKING_AP, + excluded ? INTERWORKING_EXCLUDED : INTERWORKING_AP, MAC2STR(bss->bssid), type, bh ? " below_min_backhaul=1" : "", bss_load ? " over_max_bss_load=1" : "",