浏览代码

Merge "msm: ipa: Fix using the right client enum"

qctecmdr 4 年之前
父节点
当前提交
16f70a69e3
共有 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,