summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-09-14 03:24:04 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-14 15:50:41 (GMT)
commitb027cde9504e87b6181328fb8c4ed5ccd87a0a55 (patch)
treec2565be17067108afa2c8e02dfcc6e3fc3a6609c
parent4ffbcdb6de150c13f23eb6ef8746db70b07f08ff (diff)
downloadlinux-b027cde9504e87b6181328fb8c4ed5ccd87a0a55.tar.xz
staging: wilc1000: rename WILC_WFI_disconnect
This patch replaces WILC_WFI_disconnect with disconnect to avoid CamelCase. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_cfgoperations.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 7f1ca95..1ebaaef 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1064,7 +1064,7 @@ done:
/**
- * @brief WILC_WFI_disconnect
+ * @brief disconnect
* @details Disconnect from the BSS/ESS.
* @param[in]
* @return int : Return 0 on Success
@@ -1072,7 +1072,7 @@ done:
* @date 01 MAR 2012
* @version 1.0
*/
-static int WILC_WFI_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_code)
+static int disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_code)
{
s32 s32Error = WILC_SUCCESS;
struct WILC_WFI_priv *priv;
@@ -3561,7 +3561,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
.set_monitor_channel = set_channel,
.scan = scan,
.connect = connect,
- .disconnect = WILC_WFI_disconnect,
+ .disconnect = disconnect,
.add_key = WILC_WFI_add_key,
.del_key = WILC_WFI_del_key,
.get_key = WILC_WFI_get_key,