diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-11-26 12:30:00 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-11-26 12:29:59 -0800 |
commit | 58a9174f204e980b45317eec4e240f4afc3c24c0 (patch) | |
tree | b4d3a1d3aa7809a8c157b2ef172e318203fb62c8 | |
parent | 3f5661678ae85146d97f3dd3e08857ebc8b61aed (diff) | |
parent | 6784876c00b7aaa48335deef53b3dea7b0d5b8e8 (diff) |
Merge "msm: ipa4: Fix to disable the napi when rmnet ipa interface going down"
-rw-r--r-- | drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c index af84508a00c2..db638930e2a1 100644 --- a/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +++ b/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c @@ -1068,8 +1068,12 @@ static int __ipa_wwan_close(struct net_device *dev) */ static int ipa3_wwan_stop(struct net_device *dev) { + struct ipa3_wwan_private *wwan_ptr = netdev_priv(dev); + IPAWANDBG("[%s] ipa3_wwan_stop()\n", dev->name); __ipa_wwan_close(dev); + if (ipa3_rmnet_res.ipa_napi_enable) + napi_disable(&(wwan_ptr->napi)); netif_stop_queue(dev); return 0; } |