Parcourir la source

DPP: Remove obsolete TODO comment on discovery object

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>
Jouni Malinen il y a 7 ans
Parent
commit
2265353a4f
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 3
      src/common/dpp.c

+ 1 - 3
src/common/dpp.c

@@ -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;
 }