staging: wilc1000: rename WILC_WFI_change_beacon
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 14 Sep 2015 03:24:13 +0000 (12:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2015 15:50:42 +0000 (08:50 -0700)
This patch replaces WILC_WFI_change_beacon with change_beacon to avoid
CamelCase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 38531133b130380bc9cef974f76d3516342c4276..936db602bef7da3e5ebdcfb5ea69078dd427b09a 100644 (file)
@@ -3247,7 +3247,7 @@ static int start_ap(struct wiphy *wiphy, struct net_device *dev,
 }
 
 /**
- *  @brief      WILC_WFI_change_beacon
+ *  @brief      change_beacon
  *  @details    Add a beacon with given parameters, @head, @interval
  *                      and @dtim_period will be valid, @tail is optional.
  *  @param[in]   wiphy
@@ -3258,8 +3258,8 @@ static int start_ap(struct wiphy *wiphy, struct net_device *dev,
  *  @date      23 JUL 2013
  *  @version   1.0
  */
-static int  WILC_WFI_change_beacon(struct wiphy *wiphy, struct net_device *dev,
-                                  struct cfg80211_beacon_data *beacon)
+static int change_beacon(struct wiphy *wiphy, struct net_device *dev,
+                        struct cfg80211_beacon_data *beacon)
 {
        struct WILC_WFI_priv *priv;
        s32 s32Error = WILC_SUCCESS;
@@ -3572,7 +3572,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
        .change_virtual_intf = change_virtual_intf,
 
        .start_ap = start_ap,
-       .change_beacon = WILC_WFI_change_beacon,
+       .change_beacon = change_beacon,
        .stop_ap = WILC_WFI_stop_ap,
        .add_station = WILC_WFI_add_station,
        .del_station = WILC_WFI_del_station,