]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Fix Provision Discovery name in debug messages
authorJouni Malinen <j@w1.fi>
Sun, 11 Dec 2011 15:36:38 +0000 (17:36 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Dec 2011 15:36:38 +0000 (17:36 +0200)
Some debug messages used incorrect name for Provision Discovery.
Replace "Provisioning Discovery" with "Provision Discovery".

Signed-hostap: Jouni Malinen <j@w1.fi>

src/p2p/p2p.c
src/p2p/p2p_i.h
src/p2p/p2p_pd.c
wpa_supplicant/p2p_supplicant.c

index a4ba81d15262176683110b03ab70506d56aa8962..7697256d875e5b55def7e410a8c8252613a87134 100644 (file)
@@ -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);
index 47c5b8e82970a288ae8928a0b2d9d0d072db7f9f..4a4751b7f2646adc3ae99c1b3ae30b77988f993b 100644 (file)
@@ -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;
 
index 903c9ee56390352819523a7a94f53bba3e397ce0..759d108022d793294bc04cc0d944a510032f8258 100644 (file)
@@ -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);
index a1c87916748f30f5fc98cbfae25ecca17e9381fb..b3c20f70e064a6c08cf9c73f8bd527d5ac04191b 100644 (file)
@@ -2537,7 +2537,7 @@ static void wpas_p2p_scan_res_join(struct wpa_supplicant *wpa_s,
                         * We have already performed provision discovery for
                         * joining the group. Proceed directly to join
                         * operation without duplicated provision discovery. */
-                       wpa_printf(MSG_DEBUG, "P2P: Provisioning discovery "
+                       wpa_printf(MSG_DEBUG, "P2P: Provision discovery "
                                   "with " MACSTR " already done - proceed to "
                                   "join",
                                   MAC2STR(wpa_s->pending_join_dev_addr));