qcacld-3.0: Rename HDD variable dataEnd
The Linux Coding Style frowns upon mixed-case names so rename HDD local variable dataEnd to be compliant. Change-Id: If3f44f677eb14849b0935463f7fa0d05565028b3 CRs-Fixed: 2407326
This commit is contained in:
@@ -547,7 +547,7 @@ hdd_parse_send_action_frame_v1_data(const uint8_t *command,
|
|||||||
uint8_t **buf, uint8_t *buf_len)
|
uint8_t **buf, uint8_t *buf_len)
|
||||||
{
|
{
|
||||||
const uint8_t *in_ptr = command;
|
const uint8_t *in_ptr = command;
|
||||||
const uint8_t *dataEnd;
|
const uint8_t *end_ptr;
|
||||||
int tempInt;
|
int tempInt;
|
||||||
int j = 0;
|
int j = 0;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
@@ -596,11 +596,11 @@ hdd_parse_send_action_frame_v1_data(const uint8_t *command,
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
/* find the length of data */
|
/* find the length of data */
|
||||||
dataEnd = in_ptr;
|
end_ptr = in_ptr;
|
||||||
while (('\0' != *dataEnd))
|
while (('\0' != *end_ptr))
|
||||||
dataEnd++;
|
end_ptr++;
|
||||||
|
|
||||||
*buf_len = dataEnd - in_ptr;
|
*buf_len = end_ptr - in_ptr;
|
||||||
if (*buf_len <= 0)
|
if (*buf_len <= 0)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
@@ -2664,7 +2664,7 @@ static int hdd_parse_get_cckm_ie(uint8_t *command, uint8_t **cckm_ie,
|
|||||||
uint8_t *cckm_ie_len)
|
uint8_t *cckm_ie_len)
|
||||||
{
|
{
|
||||||
uint8_t *in_ptr = command;
|
uint8_t *in_ptr = command;
|
||||||
uint8_t *dataEnd;
|
uint8_t *end_ptr;
|
||||||
int j = 0;
|
int j = 0;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
uint8_t tempByte = 0;
|
uint8_t tempByte = 0;
|
||||||
@@ -2684,9 +2684,9 @@ static int hdd_parse_get_cckm_ie(uint8_t *command, uint8_t **cckm_ie,
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
/* find the length of data */
|
/* find the length of data */
|
||||||
dataEnd = in_ptr;
|
end_ptr = in_ptr;
|
||||||
while (('\0' != *dataEnd)) {
|
while (('\0' != *end_ptr)) {
|
||||||
dataEnd++;
|
end_ptr++;
|
||||||
++(*cckm_ie_len);
|
++(*cckm_ie_len);
|
||||||
}
|
}
|
||||||
if (*cckm_ie_len <= 0)
|
if (*cckm_ie_len <= 0)
|
||||||
|
Reference in New Issue
Block a user