This patch replaces WILC_WFI_CfgConnect with wilc_connect to avoid
CamelCase.

Signed-off-by: Chaehyun Lim <chaehyun....@gmail.com>
---
V2: to make function name simple

 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 
b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 8adc26a..0337a29 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -806,7 +806,7 @@ static int wilc_scan(struct wiphy *wiphy, struct 
cfg80211_scan_request *request)
 }
 
 /**
- *  @brief      WILC_WFI_CfgConnect
+ *  @brief      wilc_connect
  *  @details    Connect to the ESS with the specified parameters. When 
connected,
  *                      call cfg80211_connect_result() with status code 
%WLAN_STATUS_SUCCESS.
  *                      If the connection fails for some reason, call 
cfg80211_connect_result()
@@ -817,8 +817,8 @@ static int wilc_scan(struct wiphy *wiphy, struct 
cfg80211_scan_request *request)
  *  @date      01 MAR 2012
  *  @version   1.0
  */
-static int WILC_WFI_CfgConnect(struct wiphy *wiphy, struct net_device *dev,
-                              struct cfg80211_connect_params *sme)
+static int wilc_connect(struct wiphy *wiphy, struct net_device *dev,
+                       struct cfg80211_connect_params *sme)
 {
        s32 s32Error = WILC_SUCCESS;
        u32 i;
@@ -3560,7 +3560,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
 
        .set_monitor_channel = wilc_set_channel,
        .scan = wilc_scan,
-       .connect = WILC_WFI_CfgConnect,
+       .connect = wilc_connect,
        .disconnect = WILC_WFI_disconnect,
        .add_key = WILC_WFI_add_key,
        .del_key = WILC_WFI_del_key,
-- 
2.5.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to