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 <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
Yuan Liu 2019-01-09 09:35:14 +08:00 committed by wenlingz
parent 24e4464b5a
commit 8b9100b15d

View File

@ -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->srv_len = srv_len;
req->link_len = link_len; req->link_len = link_len;
req->rtype = CBC_REQ_T_PROT;
cbc_request_enqueue(ioc, req, CBC_QUEUE_T_RX, false); cbc_request_enqueue(ioc, req, CBC_QUEUE_T_RX, false);
} }