[PATCH 17/30] staging: wilc1000: rename WILC_WFI_get_station

Chaehyun Lim chaehyun.lim at gmail.com
Tue Sep 8 15:55:54 UTC 2015


This patch replaces WILC_WFI_get_station with wilc_cfg80211_get_station
to avoid CamelCase.

Signed-off-by: Chaehyun Lim <chaehyun.lim at gmail.com>
---
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 4a46aea..1db8b8d 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -1619,7 +1619,7 @@ static int WILC_WFI_dump_survey(struct wiphy *wiphy, struct net_device *netdev,
 
 
 /**
- *  @brief      WILC_WFI_get_station
+ *  @brief      wilc_cfg80211_get_station
  *  @details    Get station information for the station identified by @mac
  *  @param[in]   NONE
  *  @return     int : Return 0 on Success.
@@ -1628,7 +1628,7 @@ static int WILC_WFI_dump_survey(struct wiphy *wiphy, struct net_device *netdev,
  *  @version	1.0
  */
 
-static int WILC_WFI_get_station(struct wiphy *wiphy, struct net_device *dev,
+static int wilc_cfg80211_get_station(struct wiphy *wiphy, struct net_device *dev,
 				const u8 *mac, struct station_info *sinfo)
 {
 	s32 s32Error = WILC_SUCCESS;
@@ -3624,7 +3624,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
 	.change_station = wilc_cfg80211_change_station,
 	#endif /* WILC_AP_EXTERNAL_MLME*/
 	#ifndef WILC_FULLY_HOSTING_AP
-	.get_station = WILC_WFI_get_station,
+	.get_station = wilc_cfg80211_get_station,
 	#endif
 	.dump_station = WILC_WFI_dump_station,
 	.change_bss = WILC_WFI_change_bss,
-- 
2.5.1



More information about the devel mailing list