From 66cf5c999ccc828f1ec870e70255101ab02b4cd4 Mon Sep 17 00:00:00 2001 From: Jinwei Chen Date: Mon, 29 May 2023 01:50:20 -0700 Subject: [PATCH] qcacmn: use correct wmm type in hdd_get_queue_index() skb->priority is updated in hdd_update_pkt_priority_with_inspection(), so it might not be same as original wmm type value, use original wmm type value for hdd_get_queue_index(). Change-Id: I2088ba7b7359d35d33603e0728a0a98347f0da05 CRs-Fixed: 3512772 --- core/hdd/src/wlan_hdd_wmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_wmm.c b/core/hdd/src/wlan_hdd_wmm.c index 8475570fe9..3fa6a76096 100644 --- a/core/hdd/src/wlan_hdd_wmm.c +++ b/core/hdd/src/wlan_hdd_wmm.c @@ -2221,7 +2221,7 @@ static uint16_t __hdd_wmm_select_queue(struct net_device *dev, hdd_update_pkt_priority_with_inspection(skb, up); - index = hdd_get_queue_index(skb->priority, is_critical); + index = hdd_get_queue_index(up, is_critical); return hdd_get_tx_queue_for_ac(adapter, skb, index); }