Commit a0e317cf authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: rename CfgScanResult to avoid camelCase

Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 09c65f7b
...@@ -363,10 +363,9 @@ static void add_network_to_shadow(struct network_info *nw_info, ...@@ -363,10 +363,9 @@ static void add_network_to_shadow(struct network_info *nw_info,
last_scanned_shadow[ap_index].join_params = pJoinParams; last_scanned_shadow[ap_index].join_params = pJoinParams;
} }
static void CfgScanResult(enum scan_event scan_event, static void cfg_scan_result(enum scan_event scan_event,
struct network_info *network_info, struct network_info *network_info,
void *user_void, void *user_void, void *join_params)
void *join_params)
{ {
struct wilc_priv *priv; struct wilc_priv *priv;
struct wiphy *wiphy; struct wiphy *wiphy;
...@@ -622,14 +621,14 @@ static int scan(struct wiphy *wiphy, struct cfg80211_scan_request *request) ...@@ -622,14 +621,14 @@ static int scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
au8ScanChanList, au8ScanChanList,
request->n_channels, request->n_channels,
(const u8 *)request->ie, (const u8 *)request->ie,
request->ie_len, CfgScanResult, request->ie_len, cfg_scan_result,
(void *)priv, &hidden_ntwk); (void *)priv, &hidden_ntwk);
} else { } else {
ret = wilc_scan(vif, USER_SCAN, ACTIVE_SCAN, ret = wilc_scan(vif, USER_SCAN, ACTIVE_SCAN,
au8ScanChanList, au8ScanChanList,
request->n_channels, request->n_channels,
(const u8 *)request->ie, (const u8 *)request->ie,
request->ie_len, CfgScanResult, request->ie_len, cfg_scan_result,
(void *)priv, NULL); (void *)priv, NULL);
} }
} else { } else {
......
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