Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
map-controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-controller
Commits
8186db3b
Commit
8186db3b
authored
2 years ago
by
Jakob Olsson
Browse files
Options
Downloads
Patches
Plain Diff
dpp: cleanup some excess dbg prints
parent
1b8747eb
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!245
README: add dpp section
Pipeline
#101220
passed
2 years ago
Stage: static_code_analysis
Stage: compile_test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cntlr_cmdu.c
+4
-4
4 additions, 4 deletions
src/cntlr_cmdu.c
with
4 additions
and
4 deletions
src/cntlr_cmdu.c
+
4
−
4
View file @
8186db3b
...
@@ -1110,20 +1110,20 @@ struct cmdu_buff *cntlr_gen_proxied_encap_dpp(struct controller *c,
...
@@ -1110,20 +1110,20 @@ struct cmdu_buff *cntlr_gen_proxied_encap_dpp(struct controller *c,
uint16_t
mid
=
0
;
uint16_t
mid
=
0
;
/* TODO: Pass proxied_encap_dpp_data parameter */
/* TODO: Pass proxied_encap_dpp_data parameter */
warn
(
"|%s:%d|
\n
"
,
__func__
,
__LINE__
);
frm
=
cmdu_alloc_simple
(
CMDU_PROXIED_ENCAP_DPP
,
&
mid
);
frm
=
cmdu_alloc_simple
(
CMDU_PROXIED_ENCAP_DPP
,
&
mid
);
if
(
!
frm
)
{
if
(
!
frm
)
{
dbg
(
"%s: -ENOMEM
\n
"
,
__func__
);
dbg
(
"%s: -ENOMEM
\n
"
,
__func__
);
return
NULL
;
return
NULL
;
}
}
warn
(
"|%s:%d|
\n
"
,
__func__
,
__LINE__
);
/* One 1905 Encap DPP TLV */
/* One 1905 Encap DPP TLV */
if
(
cntlr_gen_1905_encap_dpp_tlv
(
c
,
frm
,
enrollee
,
if
(
cntlr_gen_1905_encap_dpp_tlv
(
c
,
frm
,
enrollee
,
frametype
,
framelen
,
frame
))
{
frametype
,
framelen
,
frame
))
{
dbg
(
"%s: cntlr_gen_1905_encap_dpp_tlv failed.
\n
"
,
__func__
);
dbg
(
"%s: cntlr_gen_1905_encap_dpp_tlv failed.
\n
"
,
__func__
);
goto
out
;
goto
out
;
}
}
warn
(
"|%s:%d|
\n
"
,
__func__
,
__LINE__
);
/* Zero or One Chirp Value TLV */
/* Zero or One Chirp Value TLV */
if
(
hashlen
&&
hash
)
{
if
(
hashlen
&&
hash
)
{
if
(
cntlr_gen_chirp_value_tlv
(
c
,
frm
,
enrollee
,
hashlen
,
hash
))
{
if
(
cntlr_gen_chirp_value_tlv
(
c
,
frm
,
enrollee
,
hashlen
,
hash
))
{
...
@@ -1131,7 +1131,7 @@ warn("|%s:%d|\n", __func__, __LINE__);
...
@@ -1131,7 +1131,7 @@ warn("|%s:%d|\n", __func__, __LINE__);
goto
out
;
goto
out
;
}
}
}
}
warn
(
"|%s:%d|
\n
"
,
__func__
,
__LINE__
);
cmdu_put_eom
(
frm
);
cmdu_put_eom
(
frm
);
return
frm
;
return
frm
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment