Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
47
Issues
47
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
a56a105f
Commit
a56a105f
authored
Jun 12, 2020
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix issue
#25
] Force WR Link setup when link goes down and up
parent
689bb0f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
main-loop.c
arch-wrs/main-loop.c
+7
-0
No files found.
arch-wrs/main-loop.c
View file @
a56a105f
...
...
@@ -177,8 +177,15 @@ static unsigned int run_all_state_machines(struct pp_globals *ppg)
ppi
->
frgn_rec_num
=
0
;
ppi
->
frgn_rec_best
=
-
1
;
if
(
ppg
->
ebest_idx
==
ppi
->
port_idx
)
{
if
(
ppi
->
ext_hooks
->
servo_reset
)
(
*
ppi
->
ext_hooks
->
servo_reset
)(
ppi
);
/* FIXME: this should be done in a different place and in a nicer way.
This dirty hack was introduce to force re-doing of WR Link Setup
when a link goes down and then up. */
if
(
ppi
->
ext_data
)
WRH_SRV
(
ppi
)
->
doRestart
=
TRUE
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment