eis: send the removed deviceid down the wire

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-08-11 11:13:14 +10:00
parent 2a98906b32
commit 57a9892f5d

View file

@ -201,6 +201,8 @@ client_send_removed(struct eis_client *client, struct eis_device *device)
ServerMessage msg = SERVER_MESSAGE__INIT;
Removed removed = REMOVED__INIT;
removed.deviceid = device->id;
msg.removed = &removed;
msg.msg_case = SERVER_MESSAGE__MSG_REMOVED;