int qmi_service_release_client_id(struct qmi_dev *qmi, QmiService svc)
{
int idx = qmi_get_service_idx(svc);
- qmi->service_keep_cid &= ~(1 << idx);
+ qmi->service_release_cid |= 1 << idx;
return 0;
}
uint32_t connected = qmi->service_connected;
int idx;
+ qmi->service_keep_cid &= ~qmi->service_release_cid;
for (idx = 0; connected; idx++, connected >>= 1) {
if (!(connected & 1))
continue;
{ "pds", QMI_SERVICE_PDS },
{ "wds", QMI_SERVICE_WDS },
{ "wms", QMI_SERVICE_WMS },
+ { "wda", QMI_SERVICE_WDA },
};
int i;