P2P: Rename SD info not available define to match with spec change
This commit is contained in:
parent
706887fc28
commit
bf608cad56
2 changed files with 3 additions and 3 deletions
|
@ -736,7 +736,7 @@ enum p2p_service_protocol_type {
|
||||||
enum p2p_sd_status {
|
enum p2p_sd_status {
|
||||||
P2P_SD_SUCCESS = 0,
|
P2P_SD_SUCCESS = 0,
|
||||||
P2P_SD_PROTO_NOT_AVAILABLE = 1,
|
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
|
P2P_SD_BAD_REQUEST = 3
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1166,7 +1166,7 @@ static void wpas_sd_req_bonjour(struct wpa_supplicant *wpa_s,
|
||||||
"available");
|
"available");
|
||||||
|
|
||||||
/* Status Code */
|
/* 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 */
|
/* Response Data: empty */
|
||||||
WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos -
|
WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos -
|
||||||
2);
|
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 "
|
wpa_printf(MSG_DEBUG, "P2P: Requested UPnP service not "
|
||||||
"available");
|
"available");
|
||||||
/* Status Code */
|
/* 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 */
|
/* Response Data: empty */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue