ipa: Do not commit partial only headers
If only partial headers are added from inside the driver, do not commit. Change-Id: I7a7671fdd51d122862b0ecd2b960584d3337e0b3 Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
b9deeaa3dc
当前提交
8b8dd93fb7
@@ -507,7 +507,7 @@ static int ipa_eth_commit_partial_hdr(
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
hdr->commit = 1;
|
hdr->commit = 0;
|
||||||
hdr->num_hdrs = 2;
|
hdr->num_hdrs = 2;
|
||||||
|
|
||||||
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
||||||
|
@@ -282,7 +282,7 @@ static int ipa_gsb_commit_partial_hdr(struct ipa_gsb_iface_info *iface_info)
|
|||||||
if (!hdr)
|
if (!hdr)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
hdr->commit = 1;
|
hdr->commit = 0;
|
||||||
hdr->num_hdrs = 2;
|
hdr->num_hdrs = 2;
|
||||||
|
|
||||||
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
||||||
|
@@ -84,7 +84,7 @@ static int ipa_commit_partial_hdr(
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
hdr->commit = 1;
|
hdr->commit = 0;
|
||||||
hdr->num_hdrs = 2;
|
hdr->num_hdrs = 2;
|
||||||
|
|
||||||
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
||||||
|
@@ -151,7 +151,7 @@ static int ipa_wdi_commit_partial_hdr(
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
hdr->commit = 1;
|
hdr->commit = 0;
|
||||||
hdr->num_hdrs = 2;
|
hdr->num_hdrs = 2;
|
||||||
|
|
||||||
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
||||||
|
@@ -268,7 +268,7 @@ static int ipa_wigig_commit_partial_hdr(
|
|||||||
hdr_info->hdr_len,
|
hdr_info->hdr_len,
|
||||||
hdr_info->hdr_type);
|
hdr_info->hdr_type);
|
||||||
|
|
||||||
hdr->commit = 1;
|
hdr->commit = 0;
|
||||||
hdr->num_hdrs = 2;
|
hdr->num_hdrs = 2;
|
||||||
|
|
||||||
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
snprintf(hdr->hdr[0].name, sizeof(hdr->hdr[0].name),
|
||||||
|
在新工单中引用
屏蔽一个用户