From: Leo Kim Date: Thu, 15 Oct 2015 04:24:45 +0000 (+0900) Subject: staging: wilc1000: rename u8CtWindow of struct join_bss_param X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=99b669453b3e2add47697a2da1e708ff40a1801c;p=deliverable%2Flinux.git staging: wilc1000: rename u8CtWindow of struct join_bss_param This patch renames u8CtWindow of struct join_bss_param to ct_window to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 7c6560942e3d..b472292f2e94 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -221,7 +221,7 @@ struct join_bss_param { u32 tsf; u8 noa_enabled; u8 opp_enabled; - u8 u8CtWindow; + u8 ct_window; u8 u8Count; u8 u8Index; u8 au8Duration[4]; @@ -1185,7 +1185,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv, *(pu8CurrByte++) = ptstrJoinBssParam->opp_enabled; if (ptstrJoinBssParam->opp_enabled) - *(pu8CurrByte++) = ptstrJoinBssParam->u8CtWindow; + *(pu8CurrByte++) = ptstrJoinBssParam->ct_window; *(pu8CurrByte++) = ptstrJoinBssParam->u8Count; @@ -4948,7 +4948,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo) if (pu8IEs[index + 10] & BIT(7)) { pNewJoinBssParam->opp_enabled = 1; - pNewJoinBssParam->u8CtWindow = pu8IEs[index + 10]; + pNewJoinBssParam->ct_window = pu8IEs[index + 10]; } else { pNewJoinBssParam->opp_enabled = 0; }