diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h index c00f4db4d..3adfbd963 100644 --- a/src/common/ieee802_11_defs.h +++ b/src/common/ieee802_11_defs.h @@ -736,7 +736,7 @@ enum p2p_service_protocol_type { enum p2p_sd_status { P2P_SD_SUCCESS = 0, P2P_SD_PROTO_NOT_AVAILABLE = 1, - P2P_SD_QUERY_DATA_NOT_AVAILABLE = 2, + P2P_SD_REQUESTED_INFO_NOT_AVAILABLE = 2, P2P_SD_BAD_REQUEST = 3 }; diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index fc69392f7..6d142c520 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -1166,7 +1166,7 @@ static void wpas_sd_req_bonjour(struct wpa_supplicant *wpa_s, "available"); /* Status Code */ - wpabuf_put_u8(resp, P2P_SD_QUERY_DATA_NOT_AVAILABLE); + wpabuf_put_u8(resp, P2P_SD_REQUESTED_INFO_NOT_AVAILABLE); /* Response Data: empty */ WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); @@ -1296,7 +1296,7 @@ static void wpas_sd_req_upnp(struct wpa_supplicant *wpa_s, wpa_printf(MSG_DEBUG, "P2P: Requested UPnP service not " "available"); /* Status Code */ - wpabuf_put_u8(resp, P2P_SD_QUERY_DATA_NOT_AVAILABLE); + wpabuf_put_u8(resp, P2P_SD_REQUESTED_INFO_NOT_AVAILABLE); /* Response Data: empty */ }