diff options
| author | Leo Kim <[email protected]> | 2015-10-13 19:49:45 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-10-13 09:55:08 -0700 |
| commit | 5f2b50c8dbe6c0fa1c969ee068d4fa0d36ce2dd0 (patch) | |
| tree | 9cfd003a0fc79ca6910b196c03d540c04442111b | |
| parent | c17c6da659571a115c7b4983da6c6ac464317c34 (diff) | |
staging: wilc1000: rename pvUserArg of struct scan_attr
This patch renames pvUserArg of struct scan_attr to arg to
avoid CamelCase naming convention.
Signed-off-by: Leo Kim <[email protected]>
Signed-off-by: Tony Cho <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c5cf7d4e8b03..6926a9e61d93 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -103,7 +103,7 @@ struct scan_attr { u8 *ies; size_t ies_len; wilc_scan_result result; - void *pvUserArg; + void *arg; struct hidden_network strHiddenNetwork; }; @@ -841,7 +841,7 @@ static s32 Handle_Scan(struct host_if_drv *hif_drv, PRINT_D(HOSTINF_DBG, "Scanning: In [%d] state\n", hif_drv->enuHostIFstate); hif_drv->strWILC_UsrScanReq.pfUserScanResult = pstrHostIFscanAttr->result; - hif_drv->strWILC_UsrScanReq.u32UserScanPvoid = pstrHostIFscanAttr->pvUserArg; + hif_drv->strWILC_UsrScanReq.u32UserScanPvoid = pstrHostIFscanAttr->arg; if ((hif_drv->enuHostIFstate >= HOST_IF_SCANNING) && (hif_drv->enuHostIFstate < HOST_IF_CONNECTED)) { PRINT_D(GENERIC_DBG, "Don't scan we are already in [%d] state\n", hif_drv->enuHostIFstate); @@ -4060,7 +4060,7 @@ s32 host_int_scan(struct host_if_drv *hif_drv, u8 u8ScanSource, msg.body.scan_info.src = u8ScanSource; msg.body.scan_info.type = u8ScanType; msg.body.scan_info.result = ScanResult; - msg.body.scan_info.pvUserArg = pvUserArg; + msg.body.scan_info.arg = pvUserArg; msg.body.scan_info.ch_list_len = u8ChnlListLen; msg.body.scan_info.ch_freq_list = kmalloc(u8ChnlListLen, GFP_KERNEL); |