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

Commit 0201f7aa authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

net: qualcomm: rmnet: Remove invalid condition while stamping mux id



rmnet devices cannot have a mux id of 255. This is validated when
assigning the mux id to the rmnet devices. As a result, checking for
mux id 255 does not apply in egress path.

CRs-Fixed: 2156182
Change-Id: I0e6c02f9ea58f347b70991c9a5c6e5881d552a01
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 7fa00425
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -143,9 +143,6 @@ static int rmnet_map_egress_handler(struct sk_buff *skb,
	if (!map_header)
		goto fail;

	if (mux_id == 0xff)
		map_header->mux_id = 0;
	else
	map_header->mux_id = mux_id;

	skb->protocol = htons(ETH_P_MAP);