Use default waitset on server

This commit is contained in:
Jan Schär 2022-03-31 11:47:38 +02:00
parent 042a4187ed
commit da6dbaaff7
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@
struct aos_rpc_server {
struct lmp_chan *chan;
struct waitset ws;
void *shared_mem;
struct capref ret_cap;

View File

@ -76,7 +76,7 @@ static void rpc_server_send_reply(void *arg) {
return;
}
// Cannot send right now, try again later
err = lmp_chan_register_send(rpc->chan, &rpc->ws, MKCLOSURE(rpc_server_send_reply, arg));
err = lmp_chan_register_send(rpc->chan, get_default_waitset(), MKCLOSURE(rpc_server_send_reply, arg));
if (err_is_fail(err)) {
DEBUG_ERR(err, "Could not register send handler");
return;