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

staging: wilc1000: rename pfScanResult of struct scan_attr

This patch renames pfScanResult of struct scan_attr to result 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 7b1f76cd
...@@ -102,7 +102,7 @@ struct scan_attr { ...@@ -102,7 +102,7 @@ struct scan_attr {
u8 ch_list_len; u8 ch_list_len;
u8 *ies; u8 *ies;
size_t ies_len; size_t ies_len;
wilc_scan_result pfScanResult; wilc_scan_result result;
void *pvUserArg; void *pvUserArg;
struct hidden_network strHiddenNetwork; struct hidden_network strHiddenNetwork;
}; };
...@@ -840,7 +840,7 @@ static s32 Handle_Scan(struct host_if_drv *hif_drv, ...@@ -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, "Setting SCAN params\n");
PRINT_D(HOSTINF_DBG, "Scanning: In [%d] state\n", hif_drv->enuHostIFstate); 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; hif_drv->strWILC_UsrScanReq.u32UserScanPvoid = pstrHostIFscanAttr->pvUserArg;
if ((hif_drv->enuHostIFstate >= HOST_IF_SCANNING) && (hif_drv->enuHostIFstate < HOST_IF_CONNECTED)) { 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, ...@@ -4059,7 +4059,7 @@ s32 host_int_scan(struct host_if_drv *hif_drv, u8 u8ScanSource,
msg.drv = hif_drv; msg.drv = hif_drv;
msg.body.scan_info.src = u8ScanSource; msg.body.scan_info.src = u8ScanSource;
msg.body.scan_info.type = u8ScanType; 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.pvUserArg = pvUserArg;
msg.body.scan_info.ch_list_len = u8ChnlListLen; msg.body.scan_info.ch_list_len = u8ChnlListLen;
......
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