]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP: Remove obsolete TODO comment on discovery object
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 3 Nov 2017 10:09:15 +0000 (12:09 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 3 Nov 2017 17:59:46 +0000 (19:59 +0200)
The optional channel information was removed from the discovery object
in the DPP tech spec, so no need to maintain this TODO note anymore.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/dpp.c

index 7f5046a2f1829903c1fc0fc2a6cfac7f3e3ecad4..3ad25f5484f8a79d0e161edb44fa2beb78392404 100644 (file)
@@ -3435,9 +3435,7 @@ dpp_build_conf_start(struct dpp_authentication *auth,
        json_escape_string(ssid, sizeof(ssid),
                           (const char *) conf->ssid, conf->ssid_len);
        wpabuf_put_str(buf, ssid);
-       wpabuf_put_str(buf, "\"");
-       /* TODO: optional channel information */
-       wpabuf_put_str(buf, "},");
+       wpabuf_put_str(buf, "\"},");
 
        return buf;
 }