Explorar el Código

qcacld-3.0: Rename HDD variable uRate

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

Change-Id: I8e43031577a2aac24b3b31de9e8d289d1f641927
CRs-Fixed: 2408053
Jeff Johnson hace 6 años
padre
commit
af5283f52c
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      core/hdd/src/wlan_hdd_ioctl.c

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

@@ -5053,7 +5053,7 @@ static int drv_cmd_set_rmc_tx_rate(struct hdd_adapter *adapter,
 {
 	int ret = 0;
 	uint8_t *value = command;
-	uint32_t uRate = 0;
+	uint32_t rate = 0;
 	enum tx_rate_info tx_flags = 0;
 	tSirRateUpdateInd params = {0};
 	int status;
@@ -5069,13 +5069,13 @@ static int drv_cmd_set_rmc_tx_rate(struct hdd_adapter *adapter,
 		goto exit;
 	}
 
-	status = hdd_parse_setrmcrate_command(value, &uRate, &tx_flags);
+	status = hdd_parse_setrmcrate_command(value, &rate, &tx_flags);
 	if (status) {
 		hdd_err("Invalid SETRMCTXRATE command");
 		ret = -EINVAL;
 		goto exit;
 	}
-	hdd_debug("uRate %d", uRate);
+	hdd_debug("rate %d", rate);
 
 	/*
 	 * Fill the user specifieed RMC rate param
@@ -5088,7 +5088,7 @@ static int drv_cmd_set_rmc_tx_rate(struct hdd_adapter *adapter,
 		goto exit;
 	}
 	params.nss = (bval == 0) ? 0 : 1;
-	params.reliableMcastDataRate = uRate;
+	params.reliableMcastDataRate = rate;
 	params.reliableMcastDataRateTxFlag = tx_flags;
 	params.dev_mode = adapter->device_mode;
 	params.bcastDataRate = -1;