[PATCH V2 28/31] staging: wilc1000: rename WILC_WFI_mgmt_tx

Chaehyun Lim chaehyun.lim at gmail.com
Thu Sep 10 19:14:27 UTC 2015


This patch replaces WILC_WFI_mgmt_tx with wilc_mgmt_tx to avoid
CamelCase.

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

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

diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 8ce6721..dc935cb 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2496,10 +2496,10 @@ void WILC_WFI_add_wilcvendorspec(u8 *buff)
  */
 extern linux_wlan_t *g_linux_wlan;
 extern bool bEnablePS;
-int WILC_WFI_mgmt_tx(struct wiphy *wiphy,
-			struct wireless_dev *wdev,
-			struct cfg80211_mgmt_tx_params *params,
-			u64 *cookie)
+int wilc_mgmt_tx(struct wiphy *wiphy,
+		 struct wireless_dev *wdev,
+		 struct cfg80211_mgmt_tx_params *params,
+		 u64 *cookie)
 {
 	struct ieee80211_channel *chan = params->chan;
 	unsigned int wait = params->wait;
@@ -3590,7 +3590,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = {
 	.remain_on_channel = wilc_remain_on_channel,
 	.cancel_remain_on_channel = wilc_cancel_remain_on_channel,
 	.mgmt_tx_cancel_wait = wilc_mgmt_tx_cancel_wait,
-	.mgmt_tx = WILC_WFI_mgmt_tx,
+	.mgmt_tx = wilc_mgmt_tx,
 	.mgmt_frame_register = WILC_WFI_frame_register,
 	.set_power_mgmt = WILC_WFI_set_power_mgmt,
 	.set_cqm_rssi_config = WILC_WFI_set_cqm_rssi_config,
-- 
2.5.1



More information about the devel mailing list