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>
diff --git a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c
index c7d66a6..55e9a11 100644
--- a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c
+++ b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c
@@ -3969,7 +3969,7 @@
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();