aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-12-11 15:36:38 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-11 15:36:38 (GMT)
commite3a0706b47a7dc67079d1f5409b834720df3e439 (patch)
tree375b3ce84021e05000dd2f538762890ae4d3ee92 /src
parent36ba8581f7f61e77374f0b7d21252a3e9e38d77d (diff)
downloadhostap-e3a0706b47a7dc67079d1f5409b834720df3e439.zip
hostap-e3a0706b47a7dc67079d1f5409b834720df3e439.tar.gz
hostap-e3a0706b47a7dc67079d1f5409b834720df3e439.tar.bz2
P2P: Fix Provision Discovery name in debug messages
Some debug messages used incorrect name for Provision Discovery. Replace "Provisioning Discovery" with "Provision Discovery". Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src')
-rw-r--r--src/p2p/p2p.c4
-rw-r--r--src/p2p/p2p_i.h2
-rw-r--r--src/p2p/p2p_pd.c8
3 files changed, 7 insertions, 7 deletions
diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c
index a4ba81d..7697256 100644
--- a/src/p2p/p2p.c
+++ b/src/p2p/p2p.c
@@ -2366,7 +2366,7 @@ void p2p_continue_find(struct p2p_data *p2p)
} else if (dev->req_config_methods &&
!(dev->flags & P2P_DEV_PD_FOR_JOIN)) {
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Send "
- "pending Provisioning Discovery Request to "
+ "pending Provision Discovery Request to "
MACSTR " (config methods 0x%x)",
MAC2STR(dev->info.p2p_device_addr),
dev->req_config_methods);
@@ -2435,7 +2435,7 @@ static void p2p_retry_pd(struct p2p_data *p2p)
continue;
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Send "
- "pending Provisioning Discovery Request to "
+ "pending Provision Discovery Request to "
MACSTR " (config methods 0x%x)",
MAC2STR(dev->info.p2p_device_addr),
dev->req_config_methods);
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 47c5b8e..4a4751b 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -67,7 +67,7 @@ struct p2p_device {
size_t oper_ssid_len;
/**
- * req_config_methods - Pending provisioning discovery methods
+ * req_config_methods - Pending provision discovery methods
*/
u16 req_config_methods;
diff --git a/src/p2p/p2p_pd.c b/src/p2p/p2p_pd.c
index 903c9ee..759d108 100644
--- a/src/p2p/p2p_pd.c
+++ b/src/p2p/p2p_pd.c
@@ -209,14 +209,14 @@ void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa,
return;
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
- "P2P: Received Provisioning Discovery Response from " MACSTR
+ "P2P: Received Provision Discovery Response from " MACSTR
" with config methods 0x%x",
MAC2STR(sa), msg.wps_config_methods);
dev = p2p_get_device(p2p, sa);
if (dev == NULL || !dev->req_config_methods) {
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
- "P2P: Ignore Provisioning Discovery Response from "
+ "P2P: Ignore Provision Discovery Response from "
MACSTR " with no pending request", MAC2STR(sa));
p2p_parse_free(&msg);
return;
@@ -229,7 +229,7 @@ void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa,
if (dev->dialog_token != msg.dialog_token) {
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
- "P2P: Ignore Provisioning Discovery Response with "
+ "P2P: Ignore Provision Discovery Response with "
"unexpected Dialog Token %u (expected %u)",
msg.dialog_token, dev->dialog_token);
p2p_parse_free(&msg);
@@ -246,7 +246,7 @@ void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa,
if (msg.wps_config_methods != dev->req_config_methods) {
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer rejected "
- "our Provisioning Discovery Request");
+ "our Provision Discovery Request");
if (p2p->cfg->prov_disc_fail)
p2p->cfg->prov_disc_fail(p2p->cfg->cb_ctx, sa,
P2P_PROV_DISC_REJECTED);