浏览代码

msm: ipa: Fix using the right client enum

Fix using the right client enum when trying to add
NAPI TX function.

Change-Id: Ie45b5b72efdd76c27da854f1a22ed7e8f5853592
Signed-off-by: Chaitanya Pratapa <[email protected]>
Chaitanya Pratapa 4 年之前
父节点
当前提交
5cffb57355
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

@@ -1182,7 +1182,7 @@ 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 (IPA_CLIENT_IS_PROD(ep->client) &&
+	if (IPA_CLIENT_IS_PROD(sys_in->client) &&
 		ipa3_ctx->tx_napi_enable) {
 		if (sys_in->client != IPA_CLIENT_APPS_WAN_PROD) {
 			netif_tx_napi_add(&ipa3_ctx->generic_ndev,