Merge "msm: ipa: Log when embedded TX data sent on APQ platform"

This commit is contained in:
qctecmdr Service 2019-01-09 20:48:02 -08:00 committed by Gerrit - the friendly Code Review server
commit e073068fb4

View file

@ -1094,6 +1094,13 @@ static int ipa3_wwan_xmit(struct sk_buff *skb, struct net_device *dev)
bool qmap_check;
struct ipa3_wwan_private *wwan_ptr = netdev_priv(dev);
if (ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ) {
IPAWANERR_RL("IPA embedded data on APQ platform\n");
dev_kfree_skb_any(skb);
dev->stats.tx_dropped++;
return NETDEV_TX_OK;
}
if (skb->protocol != htons(ETH_P_MAP)) {
IPAWANDBG_LOW
("SW filtering out none QMAP packet received from %s",