qmi_rmnet: Fix PS off 1st session state notif
Previously the 1st traffic session would not notify shs of PS off state leading to shs wq not starting up. On subsequent sessions notification would be sent so state would be corrected and this issue would go unnoticed. This change should notify shs of power save state correctly for the first data session. CRs-Fixed: 3291630 Change-Id: I7cf9458f999adb1aa3c645ade29bb8c970aa495e Signed-off-by: Raul Martinez <quic_mraul@quicinc.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -626,6 +626,7 @@ qmi_rmnet_setup_client(void *port, struct qmi_info *qmi, struct tcmsg *tcm)
|
||||
}
|
||||
|
||||
qmi->flag = tcm->tcm_ifindex;
|
||||
qmi->ps_enabled = true;
|
||||
qmi->ps_ext = FLAG_TO_PS_EXT(qmi->flag);
|
||||
svc.instance = tcm->tcm_handle;
|
||||
svc.ep_type = tcm->tcm_info;
|
||||
|
Reference in New Issue
Block a user