Browse Source

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
Jinwei Chen 1 year ago
parent
commit
66cf5c999c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_wmm.c

+ 1 - 1
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);
 }