Loading drivers/platform/msm/ipa/ipa_clients/ecm_ipa.c +5 −3 Original line number Diff line number Diff line /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -619,8 +619,10 @@ static netdev_tx_t ecm_ipa_start_xmit } if (ecm_ipa_ctx->is_vlan_mode) if (unlikely(skb->protocol != ETH_P_8021Q)) ECM_IPA_DEBUG("ether_type != ETH_P_8021Q && vlan\n"); if (unlikely(skb->protocol != htons(ETH_P_8021Q))) ECM_IPA_DEBUG( "ether_type != ETH_P_8021Q && vlan, prot = 0x%X\n" , skb->protocol); ret = ipa_tx_dp(ecm_ipa_ctx->ipa_to_usb_client, skb, NULL); if (ret) { Loading drivers/platform/msm/ipa/ipa_clients/rndis_ipa.c +4 −2 Original line number Diff line number Diff line Loading @@ -2026,8 +2026,10 @@ static struct sk_buff *rndis_encapsulate_skb(struct sk_buff *skb, } if (rndis_ipa_ctx->is_vlan_mode) if (unlikely(skb->protocol != ETH_P_8021Q)) RNDIS_IPA_DEBUG("ether_type != ETH_P_8021Q && vlan\n"); if (unlikely(skb->protocol != htons(ETH_P_8021Q))) RNDIS_IPA_DEBUG( "ether_type != ETH_P_8021Q && vlan, prot = 0x%X\n" , skb->protocol); /* make room at the head of the SKB to put the RNDIS header */ rndis_hdr = (struct rndis_pkt_hdr *)skb_push(skb, Loading Loading
drivers/platform/msm/ipa/ipa_clients/ecm_ipa.c +5 −3 Original line number Diff line number Diff line /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -619,8 +619,10 @@ static netdev_tx_t ecm_ipa_start_xmit } if (ecm_ipa_ctx->is_vlan_mode) if (unlikely(skb->protocol != ETH_P_8021Q)) ECM_IPA_DEBUG("ether_type != ETH_P_8021Q && vlan\n"); if (unlikely(skb->protocol != htons(ETH_P_8021Q))) ECM_IPA_DEBUG( "ether_type != ETH_P_8021Q && vlan, prot = 0x%X\n" , skb->protocol); ret = ipa_tx_dp(ecm_ipa_ctx->ipa_to_usb_client, skb, NULL); if (ret) { Loading
drivers/platform/msm/ipa/ipa_clients/rndis_ipa.c +4 −2 Original line number Diff line number Diff line Loading @@ -2026,8 +2026,10 @@ static struct sk_buff *rndis_encapsulate_skb(struct sk_buff *skb, } if (rndis_ipa_ctx->is_vlan_mode) if (unlikely(skb->protocol != ETH_P_8021Q)) RNDIS_IPA_DEBUG("ether_type != ETH_P_8021Q && vlan\n"); if (unlikely(skb->protocol != htons(ETH_P_8021Q))) RNDIS_IPA_DEBUG( "ether_type != ETH_P_8021Q && vlan, prot = 0x%X\n" , skb->protocol); /* make room at the head of the SKB to put the RNDIS header */ rndis_hdr = (struct rndis_pkt_hdr *)skb_push(skb, Loading