Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:2873 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752248AbbJMKwk (ORCPT ); Tue, 13 Oct 2015 06:52:40 -0400 From: Tony Cho To: CC: , , , , , , , , , , , Subject: [PATCH 19/54] staging: wilc1000: rename pfScanResult of struct scan_attr Date: Tue, 13 Oct 2015 19:49:44 +0900 Message-ID: <1444733419-17679-19-git-send-email-tony.cho@atmel.com> (sfid-20151013_125243_478191_995EEF91) In-Reply-To: <1444733419-17679-1-git-send-email-tony.cho@atmel.com> References: <1444733419-17679-1-git-send-email-tony.cho@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Leo Kim This patch renames pfScanResult of struct scan_attr to result to avoid CamelCase naming convention. Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index a390dee..c5cf7d4 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -102,7 +102,7 @@ struct scan_attr { u8 ch_list_len; u8 *ies; size_t ies_len; - wilc_scan_result pfScanResult; + wilc_scan_result result; void *pvUserArg; struct hidden_network strHiddenNetwork; }; @@ -840,7 +840,7 @@ static s32 Handle_Scan(struct host_if_drv *hif_drv, PRINT_D(HOSTINF_DBG, "Setting SCAN params\n"); PRINT_D(HOSTINF_DBG, "Scanning: In [%d] state\n", hif_drv->enuHostIFstate); - hif_drv->strWILC_UsrScanReq.pfUserScanResult = pstrHostIFscanAttr->pfScanResult; + hif_drv->strWILC_UsrScanReq.pfUserScanResult = pstrHostIFscanAttr->result; hif_drv->strWILC_UsrScanReq.u32UserScanPvoid = pstrHostIFscanAttr->pvUserArg; if ((hif_drv->enuHostIFstate >= HOST_IF_SCANNING) && (hif_drv->enuHostIFstate < HOST_IF_CONNECTED)) { @@ -4059,7 +4059,7 @@ s32 host_int_scan(struct host_if_drv *hif_drv, u8 u8ScanSource, msg.drv = hif_drv; msg.body.scan_info.src = u8ScanSource; msg.body.scan_info.type = u8ScanType; - msg.body.scan_info.pfScanResult = ScanResult; + msg.body.scan_info.result = ScanResult; msg.body.scan_info.pvUserArg = pvUserArg; msg.body.scan_info.ch_list_len = u8ChnlListLen; -- 1.9.1