summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-12-15 00:44:12 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-12-15 00:44:12 +0100
commit5ac86efde12b33072e95da24067175a61729bcf1 (patch)
tree52890c9f9d84d1bb41bd57b161ca20c6242e2fd2
parenteb774ce6fb42c1fb7ce072ef67082daf93624703 (diff)
downloadqemu-5ac86efde12b33072e95da24067175a61729bcf1.tar.gz
unifying: acknowledge device when entering LTx
Apparently the Sw expects this report when LTx is written to register F0.
-rw-r--r--hw/usb/hid-logitech-dj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/hid-logitech-dj.c b/hw/usb/hid-logitech-dj.c
index 75b5bef2ea..5d0b6bebf2 100644
--- a/hw/usb/hid-logitech-dj.c
+++ b/hw/usb/hid-logitech-dj.c
@@ -189,6 +189,8 @@ static void lt_dfu_enter(USBLtunifyState *s, uint8_t device_index)
// whether this is sent or not.
/* TODO: power off? */
dj_send_notif_conn_status(s, i + 1, false);
+ /* acknowledge DUD communication */
+ hidpp_notif_device_connection(s, device_index);
}
}
}