From b61b3e8ff2b29e08b53eabc7b813c1c87c734947 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 5 Mar 2013 14:34:37 +0100 Subject: [PATCH] keep the client id if user-specified --- dev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev.c b/dev.c index 76a8f30..68d404c 100644 --- a/dev.c +++ b/dev.c @@ -230,6 +230,8 @@ int qmi_service_connect(struct qmi_dev *qmi, QmiService svc, int client_id) return req.req.ret; client_id = req.cid; + } else { + qmi->service_keep_cid |= (1 << idx); } qmi->service_data[idx].connected = true; -- 2.30.2