From 8b9100b15df395499af41a04bdf36d05fd20048b Mon Sep 17 00:00:00 2001 From: Yuan Liu Date: Wed, 9 Jan 2019 09:35:14 +0800 Subject: [PATCH] IOC mediator: fix the issue of abnormally missing tx package The issue will result in the loss of wakeup reason and signal data, because the CBC header was not added when generating the tx package. Tracked-On: #2282 Signed-off-by: Yuan Liu Acked-by: Yu Wang --- devicemodel/hw/platform/ioc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/devicemodel/hw/platform/ioc.c b/devicemodel/hw/platform/ioc.c index 47abbb8e7..d97b15518 100644 --- a/devicemodel/hw/platform/ioc.c +++ b/devicemodel/hw/platform/ioc.c @@ -1166,6 +1166,7 @@ ioc_build_request(struct ioc_dev *ioc, int32_t link_len, int32_t srv_len) } req->srv_len = srv_len; req->link_len = link_len; + req->rtype = CBC_REQ_T_PROT; cbc_request_enqueue(ioc, req, CBC_QUEUE_T_RX, false); }