Преглед на файлове

qcacld-3.0: Rename HDD identifier queueIndex

The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier queueIndex to be compliant.

Change-Id: Iaf7bc148b7559e64dcdb45ee8a7c5143467a356c
CRs-Fixed: 2414992
Jeff Johnson преди 6 години
родител
ревизия
55c4388b9a
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      core/hdd/src/wlan_hdd_wmm.c

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

@@ -1768,7 +1768,7 @@ static uint16_t hdd_wmm_select_queue(struct net_device *dev,
 				     struct sk_buff *skb)
 {
 	enum sme_qos_wmmuptype up = SME_QOS_WMM_UP_BE;
-	uint16_t queueIndex;
+	uint16_t index;
 	struct hdd_adapter *adapter = WLAN_HDD_GET_PRIV_PTR(dev);
 	bool is_crtical = false;
 	struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
@@ -1802,9 +1802,9 @@ static uint16_t hdd_wmm_select_queue(struct net_device *dev,
 	}
 	spin_unlock_bh(&adapter->pause_map_lock);
 	skb->priority = up;
-	queueIndex = hdd_get_queue_index(skb->priority, is_crtical);
+	index = hdd_get_queue_index(skb->priority, is_crtical);
 
-	return queueIndex;
+	return index;
 }
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))