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

staging: wilc1000: rename u8NoaEnbaled of struct join_bss_param

This patch renames u8NoaEnbaled of struct join_bss_param to noa_enabled
to avoid CamelCase naming convention.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 619d27b8
...@@ -219,7 +219,7 @@ struct join_bss_param { ...@@ -219,7 +219,7 @@ struct join_bss_param {
u8 rsn_auth_policy[3]; u8 rsn_auth_policy[3];
u8 rsn_cap[2]; u8 rsn_cap[2];
u32 tsf; u32 tsf;
u8 u8NoaEnbaled; u8 noa_enabled;
u8 u8OppEnable; u8 u8OppEnable;
u8 u8CtWindow; u8 u8CtWindow;
u8 u8Count; u8 u8Count;
...@@ -1171,9 +1171,9 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv, ...@@ -1171,9 +1171,9 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv,
pu8CurrByte += sizeof(ptstrJoinBssParam->rsn_cap); pu8CurrByte += sizeof(ptstrJoinBssParam->rsn_cap);
*(pu8CurrByte++) = REAL_JOIN_REQ; *(pu8CurrByte++) = REAL_JOIN_REQ;
*(pu8CurrByte++) = ptstrJoinBssParam->noa_enabled;
*(pu8CurrByte++) = ptstrJoinBssParam->u8NoaEnbaled; if (ptstrJoinBssParam->noa_enabled) {
if (ptstrJoinBssParam->u8NoaEnbaled) {
PRINT_D(HOSTINF_DBG, "NOA present\n"); PRINT_D(HOSTINF_DBG, "NOA present\n");
*(pu8CurrByte++) = (ptstrJoinBssParam->tsf) & 0xFF; *(pu8CurrByte++) = (ptstrJoinBssParam->tsf) & 0xFF;
...@@ -4944,7 +4944,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo) ...@@ -4944,7 +4944,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
u16 u16P2P_count; u16 u16P2P_count;
pNewJoinBssParam->tsf = ptstrNetworkInfo->u32Tsf; pNewJoinBssParam->tsf = ptstrNetworkInfo->u32Tsf;
pNewJoinBssParam->u8NoaEnbaled = 1; pNewJoinBssParam->noa_enabled = 1;
pNewJoinBssParam->u8Index = pu8IEs[index + 9]; pNewJoinBssParam->u8Index = pu8IEs[index + 9];
if (pu8IEs[index + 10] & BIT(7)) { if (pu8IEs[index + 10] & BIT(7)) {
......
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