diff --git a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c index a0284deed24f..567fa55339c2 100644 --- a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +++ b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c @@ -2652,6 +2652,7 @@ static int rmnet_ipa_ap_suspend(struct device *dev) /* Make sure that there is no Tx operation ongoing */ netif_stop_queue(netdev); + netif_device_detach(netdev); spin_unlock_irqrestore(&wwan_ptr->lock, flags); IPAWANDBG("De-activating the PM resource.\n"); @@ -2681,6 +2682,7 @@ static int rmnet_ipa_ap_resume(struct device *dev) atomic_set(&rmnet_ipa3_ctx->ap_suspend, 0); if (netdev) netif_wake_queue(netdev); + netif_device_attach(netdev); IPAWANDBG("Exit\n"); return 0;