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

Commit 2bdfb6bb authored by Ahmad Masri's avatar Ahmad Masri
Browse files

wil6210: fix mapping packets to invalid queue



wil_select_queue() returns invalid queue id (7) for special packets.
Fix this by setting skb->priority = 7 which in turn will return
correct queue id.

Change-Id: Ia2013a6fcf736128815cecb4f466ee43f3fd7afd
Signed-off-by: default avatarAhmad Masri <amasri@codeaurora.org>
parent c7448bfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ static u16 wil_select_queue(struct net_device *ndev,

	/* determine the priority */
	if (wil_is_special_packet(skb))
		return 7;
		skb->priority = 7;
	else if (skb->priority == 0 || skb->priority > 7)
		skb->priority = cfg80211_classify8021d(skb, NULL);