mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
msm: ipa3: Enable threaded NAPI
Change-Id: I512afa97c7cc07a9200f0ba3265fc9b3fbca44cf Signed-off-by: Alexander Winkowski <dereference23@outlook.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
67d33c0a97
commit
ac5ab411b5
@ -1141,8 +1141,10 @@ static int __ipa_wwan_open(struct net_device *dev)
|
||||
reinit_completion(&wwan_ptr->resource_granted_completion);
|
||||
wwan_ptr->device_status = WWAN_DEVICE_ACTIVE;
|
||||
|
||||
if (ipa3_rmnet_res.ipa_napi_enable)
|
||||
if (ipa3_rmnet_res.ipa_napi_enable) {
|
||||
dev_set_threaded(dev, true);
|
||||
napi_enable(&(wwan_ptr->napi));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user