Commit c8a06381 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: renames u16index variable

This patch renames u16index variable to index
to remove the prefix variable defined name.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c25d7cb
...@@ -243,14 +243,14 @@ static inline u16 get_asoc_id(u8 *data) ...@@ -243,14 +243,14 @@ static inline u16 get_asoc_id(u8 *data)
static u8 *get_tim_elm(u8 *pu8msa, u16 rx_len, u16 tag_param_offset) static u8 *get_tim_elm(u8 *pu8msa, u16 rx_len, u16 tag_param_offset)
{ {
u16 u16index; u16 index;
u16index = tag_param_offset; index = tag_param_offset;
while (u16index < (rx_len - FCS_LEN)) { while (index < (rx_len - FCS_LEN)) {
if (pu8msa[u16index] == ITIM) if (pu8msa[index] == ITIM)
return &pu8msa[u16index]; return &pu8msa[index];
u16index += (IE_HDR_LEN + pu8msa[u16index + 1]); index += (IE_HDR_LEN + pu8msa[index + 1]);
} }
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment