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
Automate
Agent sessions
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-controller
Commits
4a48b471
Commit
4a48b471
authored
Mar 31, 2021
by
Jakob Olsson
Browse files
Options
Downloads
Patches
Plain Diff
cntlr: wait for ieee1905 before starting
parent
2179accd
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#16945
failed
Apr 6, 2021
Stage: static_code_analysis
Stage: checkpatch
Stage: functional_test
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/cntlr.c
+9
-3
9 additions, 3 deletions
src/core/cntlr.c
with
9 additions
and
3 deletions
src/core/cntlr.c
+
9
−
3
View file @
4a48b471
...
...
@@ -2151,9 +2151,15 @@ int start_controller(void)
as_init_table
(
&
c
->
as_table
);
ubus_add_uloop
(
ctx
);
if
(
ubus_lookup_id
(
c
->
ubus_ctx
,
"ieee1905"
,
&
ieee1905_obj
))
{
warn
(
"Object 'ieee1905' not present!
\n
"
);
return
-
1
;
for
(;;)
{
int
ret
;
ret
=
ubus_lookup_id
(
c
->
ubus_ctx
,
"ieee1905"
,
&
ieee1905_obj
);
if
(
!
ret
)
break
;
trace
(
"ieee1905 not up yet, sleeping for 2s!
\n
"
);
sleep
(
2
);
}
ubus_call_object
(
c
,
ieee1905_obj
,
"info"
,
parse_almac
,
c
);
...
...
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
sign in
to comment