projects
/
barrelfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
70ca342
)
libnet: bugfix when using interrupts
author
Roni Häcki
<roni.haecki@inf.ethz.ch>
Mon, 18 Sep 2017 13:57:34 +0000 (15:57 +0200)
committer
Roni Häcki
<roni.haecki@inf.ethz.ch>
Mon, 18 Sep 2017 13:57:34 +0000 (15:57 +0200)
Small bug that actually "polled" for interrupts using
event_dispatch_non_block instead of event_dispatch
Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>
lib/net/net.c
patch
|
blob
|
history
diff --git
a/lib/net/net.c
b/lib/net/net.c
index
652d7b4
..
e62194c
100644
(file)
--- a/
lib/net/net.c
+++ b/
lib/net/net.c
@@
-124,7
+124,7
@@
static errval_t networking_poll_st(struct net_state *st)
if (st->flags & NET_FLAGS_POLLING) {
return net_if_poll(&st->netif);
} else {
- return event_dispatch_non_block(get_default_waitset());
+ return event_dispatch(get_default_waitset());
}
}