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
This commit is contained in:

committed by
Rahul Choudhary

parent
f7c7264840
commit
66cf5c999c
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user