mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
msm:ipa: fix the tx_napi enable condition
Only enable the tx_napi on APPS_PROD pipes. Change-Id: Iaff4645e618d37604a86b5fc05f6cfe6e677c156
This commit is contained in:
parent
d5c81c5204
commit
f4527983e0
1 changed files with 2 additions and 1 deletions
|
|
@ -1179,7 +1179,8 @@ int ipa3_setup_sys_pipe(struct ipa_sys_connect_params *sys_in, u32 *clnt_hdl)
|
|||
tasklet_init(&ep->sys->tasklet, ipa3_tasklet_rx_notify,
|
||||
(unsigned long) ep->sys);
|
||||
|
||||
if (ipa3_ctx->tx_napi_enable) {
|
||||
if (IPA_CLIENT_IS_PROD(ep->client) &&
|
||||
ipa3_ctx->tx_napi_enable) {
|
||||
if (sys_in->client != IPA_CLIENT_APPS_WAN_PROD) {
|
||||
netif_tx_napi_add(&ipa3_ctx->generic_ndev,
|
||||
&ep->sys->napi_tx, ipa3_aux_poll_tx_complete,
|
||||
|
|
|
|||
Loading…
Reference in a new issue