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
498dc639
Commit
498dc639
authored
4 years ago
by
Jakob Olsson
Browse files
Options
Downloads
Patches
Plain Diff
map-controller: fix type for topo query
parent
32cdbeb5
No related branches found
No related tags found
No related merge requests found
Pipeline
#20277
failed
4 years ago
Stage: static_code_analysis
Stage: checkpatch
Stage: functional_test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/cntlr_cmdu_generator.h
+2
-0
2 additions, 0 deletions
src/core/cntlr_cmdu_generator.h
src/core/cntlr_ubus.c
+1
-1
1 addition, 1 deletion
src/core/cntlr_ubus.c
with
3 additions
and
1 deletion
src/core/cntlr_cmdu_generator.h
+
2
−
0
View file @
498dc639
...
@@ -36,4 +36,6 @@ struct cmdu_buff *cntlr_gen_ap_autoconfig_wsc(struct controller *c,
...
@@ -36,4 +36,6 @@ struct cmdu_buff *cntlr_gen_ap_autoconfig_wsc(struct controller *c,
struct
agent_policy
*
a
,
struct
cmdu_buff
*
rec_cmdu
,
struct
agent_policy
*
a
,
struct
cmdu_buff
*
rec_cmdu
,
struct
tlv
*
basic_cap
,
struct
tlv
*
wsc
,
struct
tlv
*
basic_cap
,
struct
tlv
*
wsc
,
uint16_t
mid
);
uint16_t
mid
);
struct
cmdu_buff
*
cntlr_gen_topology_query
(
struct
controller
*
c
,
uint8_t
*
origin
,
char
*
intf_name
);
#endif
#endif
This diff is collapsed.
Click to expand it.
src/core/cntlr_ubus.c
+
1
−
1
View file @
498dc639
...
@@ -1630,7 +1630,7 @@ static int cntlr_topology_query(struct ubus_context *ctx, struct ubus_object *ob
...
@@ -1630,7 +1630,7 @@ static int cntlr_topology_query(struct ubus_context *ctx, struct ubus_object *ob
struct
controller
*
c
=
container_of
(
obj
,
struct
controller
,
obj
);
struct
controller
*
c
=
container_of
(
obj
,
struct
controller
,
obj
);
char
agent
[
18
]
=
{
0
};
char
agent
[
18
]
=
{
0
};
uint8_t
agent_mac
[
6
]
=
{
0
};
uint8_t
agent_mac
[
6
]
=
{
0
};
struct
cmdu_
cstruct
*
cmdu_data
;
struct
cmdu_
buff
*
cmdu_data
;
blobmsg_parse
(
topology_query_params
,
__TOPOLOGY_QUERY_MAX
,
tb
,
blobmsg_parse
(
topology_query_params
,
__TOPOLOGY_QUERY_MAX
,
tb
,
blob_data
(
msg
),
blob_len
(
msg
));
blob_data
(
msg
),
blob_len
(
msg
));
...
...
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