msm: ipa3: use netif device detach instead of stop queue
Adding change to use netif_device_detach instead of netif _stop_queue to avoid the network stack to trigger a watch dog timeout if queue is stopped. Change-Id: Ie24dd0b1451d3dc201ebe5d773c7cb382984e2cc Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
2dc16b82ee
commit
7a401068d2
@@ -1,6 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2014-2021, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Copyright (c)2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -3973,7 +3975,7 @@ static int ipa3_lcl_mdm_ssr_notifier_cb(struct notifier_block *this,
|
||||
atomic_set(&rmnet_ipa3_ctx->is_ssr, 1);
|
||||
ipa3_q6_pre_shutdown_cleanup();
|
||||
if (IPA_NETDEV())
|
||||
netif_stop_queue(IPA_NETDEV());
|
||||
netif_device_detach(IPA_NETDEV());
|
||||
ipa3_qmi_stop_workqueues();
|
||||
ipa3_wan_ioctl_stop_qmi_messages();
|
||||
ipa_stop_polling_stats();
|
||||
|
Reference in New Issue
Block a user