Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
3a6ac3da
Commit
3a6ac3da
authored
Jun 09, 2020
by
Antoine Kaufmann
Browse files
nicsim_common: fix ethernet init
parent
c0cfa6df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nicsim_common/nicsim.c
nicsim_common/nicsim.c
+1
-1
No files found.
nicsim_common/nicsim.c
View file @
3a6ac3da
...
@@ -145,7 +145,7 @@ static int accept_conns(struct cosim_pcie_proto_dev_intro *di,
...
@@ -145,7 +145,7 @@ static int accept_conns(struct cosim_pcie_proto_dev_intro *di,
await_pci
=
0
;
await_pci
=
0
;
}
}
if
(
pfds
[
1
].
revents
)
{
if
(
pfds
[
1
].
revents
)
{
if
(
accept_eth
(
pci
_lfd
)
!=
0
)
if
(
accept_eth
(
eth
_lfd
)
!=
0
)
return
-
1
;
return
-
1
;
await_eth
=
0
;
await_eth
=
0
;
}
}
...
...
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