diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-03-07 07:02:23 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-14 12:59:04 +0100 |
commit | a0e317cf92447930d9c0ec639a3d411db475a648 (patch) | |
tree | b7e1870d5e6492ffbfa4a6d2a3451e09af8507c0 | |
parent | 09c65f7bdea5bdad0ed44f77342dc1f54191eee5 (diff) |
staging: wilc1000: rename CfgScanResult to avoid camelCase
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 2fda90db5998..051ba12d0afe 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -363,10 +363,9 @@ static void add_network_to_shadow(struct network_info *nw_info, last_scanned_shadow[ap_index].join_params = pJoinParams; } -static void CfgScanResult(enum scan_event scan_event, - struct network_info *network_info, - void *user_void, - void *join_params) +static void cfg_scan_result(enum scan_event scan_event, + struct network_info *network_info, + void *user_void, void *join_params) { struct wilc_priv *priv; struct wiphy *wiphy; @@ -622,14 +621,14 @@ static int scan(struct wiphy *wiphy, struct cfg80211_scan_request *request) au8ScanChanList, request->n_channels, (const u8 *)request->ie, - request->ie_len, CfgScanResult, + request->ie_len, cfg_scan_result, (void *)priv, &hidden_ntwk); } else { ret = wilc_scan(vif, USER_SCAN, ACTIVE_SCAN, au8ScanChanList, request->n_channels, (const u8 *)request->ie, - request->ie_len, CfgScanResult, + request->ie_len, cfg_scan_result, (void *)priv, NULL); } } else { |