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
Esse commit está contido em:
Jinwei Chen
2023-05-29 01:50:20 -07:00
commit de Rahul Choudhary
commit 66cf5c999c

Ver arquivo

@@ -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);
}