From: Leo Kim Date: Tue, 13 Oct 2015 10:49:43 +0000 (+0900) Subject: staging: wilc1000: rename IEsLen of struct scan_attr X-Git-Tag: v4.14-rc1~4420^2~783 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b1f76cd036eeea15f42929eed9a7619381cc15c;p=platform%2Fkernel%2Flinux-rpi.git staging: wilc1000: rename IEsLen of struct scan_attr This patch renames IEsLen of struct scan_attr to ies_len 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 4a33d16..a390dee 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -101,7 +101,7 @@ struct scan_attr { u8 *ch_freq_list; u8 ch_list_len; u8 *ies; - size_t IEsLen; + size_t ies_len; wilc_scan_result pfScanResult; void *pvUserArg; struct hidden_network strHiddenNetwork; @@ -892,7 +892,7 @@ static s32 Handle_Scan(struct host_if_drv *hif_drv, strWIDList[u32WidsCount].id = WID_INFO_ELEMENT_PROBE; strWIDList[u32WidsCount].type = WID_BIN_DATA; strWIDList[u32WidsCount].val = pstrHostIFscanAttr->ies; - strWIDList[u32WidsCount].size = pstrHostIFscanAttr->IEsLen; + strWIDList[u32WidsCount].size = pstrHostIFscanAttr->ies_len; u32WidsCount++; } @@ -4066,7 +4066,7 @@ s32 host_int_scan(struct host_if_drv *hif_drv, u8 u8ScanSource, msg.body.scan_info.ch_freq_list = kmalloc(u8ChnlListLen, GFP_KERNEL); memcpy(msg.body.scan_info.ch_freq_list, pu8ChnlFreqList, u8ChnlListLen); - msg.body.scan_info.IEsLen = IEsLen; + msg.body.scan_info.ies_len = IEsLen; msg.body.scan_info.ies = kmalloc(IEsLen, GFP_KERNEL); memcpy(msg.body.scan_info.ies, pu8IEs, IEsLen);