Merge "msm: ipa: fix usage of ipa driver API"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
0c35df3986
@@ -907,13 +907,13 @@ static int ipa_eth_client_unreg_intf_internal(struct ipa_eth_intf_info *intf)
|
|||||||
IPA_ETH_DBG("IPv4 hdr hdl: %d IPv6 hdr hdl: %d\n",
|
IPA_ETH_DBG("IPv4 hdr hdl: %d IPv6 hdr hdl: %d\n",
|
||||||
hdr->hdl[0].hdl, hdr->hdl[1].hdl);
|
hdr->hdl[0].hdl, hdr->hdl[1].hdl);
|
||||||
|
|
||||||
if (ipa_del_hdr(hdr)) {
|
if (ipa3_del_hdr(hdr)) {
|
||||||
IPA_ETH_ERR("fail to delete partial header\n");
|
IPA_ETH_ERR("fail to delete partial header\n");
|
||||||
ret = -EFAULT;
|
ret = -EFAULT;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ipa_deregister_intf(entry->netdev_name)) {
|
if (ipa3_deregister_intf(entry->netdev_name)) {
|
||||||
IPA_ETH_ERR("fail to del interface props\n");
|
IPA_ETH_ERR("fail to del interface props\n");
|
||||||
ret = -EFAULT;
|
ret = -EFAULT;
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Reference in New Issue
Block a user