Commit 3a6ac3da authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

nicsim_common: fix ethernet init

parent c0cfa6df
...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment