Skip to content
Snippets Groups Projects
Commit 8186db3b authored by Jakob Olsson's avatar Jakob Olsson
Browse files

dpp: cleanup some excess dbg prints

parent 1b8747eb
Branches
No related tags found
1 merge request!245README: add dpp section
Pipeline #101220 passed
......@@ -1110,20 +1110,20 @@ struct cmdu_buff *cntlr_gen_proxied_encap_dpp(struct controller *c,
uint16_t mid = 0;
/* TODO: Pass proxied_encap_dpp_data parameter */
warn("|%s:%d|\n", __func__, __LINE__);
frm = cmdu_alloc_simple(CMDU_PROXIED_ENCAP_DPP, &mid);
if (!frm) {
dbg("%s: -ENOMEM\n", __func__);
return NULL;
}
warn("|%s:%d|\n", __func__, __LINE__);
/* One 1905 Encap DPP TLV */
if (cntlr_gen_1905_encap_dpp_tlv(c, frm, enrollee,
frametype, framelen, frame)) {
dbg("%s: cntlr_gen_1905_encap_dpp_tlv failed.\n", __func__);
goto out;
}
warn("|%s:%d|\n", __func__, __LINE__);
/* Zero or One Chirp Value TLV */
if (hashlen && hash) {
if (cntlr_gen_chirp_value_tlv(c, frm, enrollee, hashlen, hash)) {
......@@ -1131,7 +1131,7 @@ warn("|%s:%d|\n", __func__, __LINE__);
goto out;
}
}
warn("|%s:%d|\n", __func__, __LINE__);
cmdu_put_eom(frm);
return frm;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment