Browse Source

qcacld-3.0: Rename HDD variable txRate

The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable txRate to be compliant.

Change-Id: Ie09fae78fcfc2d02b3ab308fa819ef9f023b6d5b
CRs-Fixed: 2409072
Jeff Johnson 6 years ago
parent
commit
a464bf2c78
1 changed files with 3 additions and 3 deletions
  1. 3 3
      core/hdd/src/wlan_hdd_ioctl.c

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

@@ -5281,13 +5281,13 @@ static int drv_cmd_get_ibss_peer_info(struct hdd_adapter *adapter,
 	/* Handle the command */
 	status = hdd_cfg80211_get_ibss_peer_info(adapter, staIdx);
 	if (QDF_STATUS_SUCCESS == status) {
-		uint32_t txRate =
+		uint32_t tx_rate =
 			sta_ctx->ibss_peer_info.peerInfoParams[0].txRate;
 		/* Only lower 3 bytes are rate info. Mask of the MSByte */
-		txRate &= 0x00FFFFFF;
+		tx_rate &= 0x00FFFFFF;
 
 		length = scnprintf(extra, sizeof(extra), "%d %d",
-				(int)txRate,
+				(int)tx_rate,
 				(int)sta_ctx->ibss_peer_info.
 				peerInfoParams[0].rssi);
 		length = QDF_MIN(priv_data->total_len, length + 1);