mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
soc: qcom: qmi_interface: Parse all control packets
There are some control packets such as DEL_CLIENT that will not always match the local node address. All packets addressed to the control port should be decoded as qrtr control packets. Change-Id: I46b366c77fd2d8defc203e0c74181a228710c48e Signed-off-by: Chris Lew <clew@codeaurora.org>
This commit is contained in:
parent
b482a807a1
commit
332b0b6fa4
1 changed files with 1 additions and 2 deletions
|
|
@ -556,8 +556,7 @@ static void qmi_data_ready_work(struct work_struct *work)
|
|||
break;
|
||||
}
|
||||
|
||||
if (sq.sq_node == qmi->sq.sq_node &&
|
||||
sq.sq_port == QRTR_PORT_CTRL) {
|
||||
if (sq.sq_port == QRTR_PORT_CTRL) {
|
||||
qmi_recv_ctrl_pkt(qmi, qmi->recv_buf, msglen);
|
||||
} else if (ops->msg_handler) {
|
||||
ops->msg_handler(qmi, &sq, qmi->recv_buf, msglen);
|
||||
|
|
|
|||
Loading…
Reference in a new issue