mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
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>
This commit is contained in:
parent
09c65f7bde
commit
a0e317cf92
1 changed files with 5 additions and 6 deletions
|
@ -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)
|
||||||
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 {
|
||||||
|
|
Loading…
Reference in a new issue