Kaynağa Gözat

qcacld-3.0: Rename HDD identifier fSuccess

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier fSuccess to be compliant.

Change-Id: I12ff5ace525f9d98d144c098bda0b3165c4fa241
CRs-Fixed: 2417243
Jeff Johnson 6 yıl önce
ebeveyn
işleme
24c26fd8ad
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      core/hdd/src/wlan_hdd_assoc.c

+ 4 - 4
core/hdd/src/wlan_hdd_assoc.c

@@ -3686,7 +3686,7 @@ void hdd_delete_peer(struct hdd_station_ctx *sta_ctx, uint8_t sta_id)
 static bool roam_remove_ibss_station(struct hdd_adapter *adapter,
 				     uint8_t sta_id)
 {
-	bool fSuccess = false;
+	bool successful = false;
 	int idx = 0;
 	uint8_t valid_idx = 0;
 	uint8_t del_idx = 0;
@@ -3701,7 +3701,7 @@ static bool roam_remove_ibss_station(struct hdd_adapter *adapter,
 			qdf_zero_macaddr(&sta_ctx->conn_info.
 					 peer_macaddr[idx]);
 
-			fSuccess = true;
+			successful = true;
 
 			/*
 			 * Note the deleted Index, if its 0 we need special
@@ -3728,7 +3728,7 @@ static bool roam_remove_ibss_station(struct hdd_adapter *adapter,
 		hdd_debug("Last IBSS Peer Departed!!!");
 	}
 	/* Find next active sta_id, to have a valid sta trigger for TL. */
-	if (fSuccess == true) {
+	if (successful) {
 		if (del_idx == 0) {
 			if (sta_ctx->conn_info.sta_id[valid_idx] !=
 					HDD_WLAN_INVALID_STA_ID) {
@@ -3746,7 +3746,7 @@ static bool roam_remove_ibss_station(struct hdd_adapter *adapter,
 			}
 		}
 	}
-	return fSuccess;
+	return successful;
 }
 
 /**