Skip to content

Commit 01ea1ae

Browse files
jannaumarcan
authored andcommitted
afk: Accept message type TYPE_REPLY in start_interface
The macOS 13.3 DCP firmware uses TYPE_REPLY instead of TYPE_NOTIFY for the disp0-service interface init message. Signed-off-by: Janne Grunau <[email protected]>
1 parent 7a84b2b commit 01ea1ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/afk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ int afk_epic_start_interface(afk_epic_ep_t *epic, char *name, size_t txsize, siz
494494
if (ret < 0)
495495
return ret;
496496

497-
if (msg->type != TYPE_NOTIFY) {
497+
if (msg->type != TYPE_NOTIFY && msg->type != TYPE_REPLY) {
498498
printf("EPIC: got unexpected message type %d during iface start\n", msg->type);
499499
afk_epic_rx_ack(epic);
500500
continue;

0 commit comments

Comments
 (0)