Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8372b53 authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

msm_bam_rmnet: Add support for MAP packets



Modify driver to treat packets which are not of IP type v4 or v6
as MAP packets.

Change-Id: I17c6117b4fb05ec6c6ae91ab91a67d6c0f5ed0a8
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent fd4adf31
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -168,9 +168,7 @@ static __be16 rmnet_ip_type_trans(struct sk_buff *skb, struct net_device *dev)
		protocol = htons(ETH_P_IPV6);
		break;
	default:
		pr_err("[%s] rmnet_recv() L3 protocol decode error: 0x%02x",
		       dev->name, skb->data[0] & 0xf0);
		/* skb will be dropped in upper layer for unknown protocol */
		protocol = htons(ETH_P_MAP);
	}
	return protocol;
}