Forráskód Böngészése

qcacld-3.0: Use QDF abstraction API to get cpu id

Use the QDF abstraction API to get the cpu id instead
of using HLOS API directly.

Change-Id: I555ac130e153b8a5c458670a276d277c19a97104
CRs-Fixed: 3070758
Yeshwanth Sriram Guntuka 3 éve
szülő
commit
022e4b65f9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      core/hdd/src/wlan_hdd_wmm.c

+ 1 - 1
core/hdd/src/wlan_hdd_wmm.c

@@ -1952,7 +1952,7 @@ uint16_t hdd_get_tx_queue_for_ac(struct hdd_adapter *adapter,
 {
 	struct sock *sk = skb->sk;
 	int new_index;
-	int cpu = smp_processor_id();
+	int cpu = qdf_get_smp_processor_id();
 	struct hdd_tx_rx_stats *stats = &adapter->hdd_stats.tx_rx_stats;
 
 	if (qdf_unlikely(ac == HDD_LINUX_AC_HI_PRIO))