소스 검색

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 년 전
부모
커밋
66cf5c999c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
 }