staging: wilc1000: rename WILC_WFI_mgmt_tx
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 14 Sep 2015 03:24:28 +0000 (12:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2015 15:50:43 +0000 (08:50 -0700)
This patch replaces WILC_WFI_mgmt_tx with mgmt_tx 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 627a25492d5b7d4a3501657dfd6328d012c1581a..068e648601747e423faf6bb8d7eded3e8c33f4ff 100644 (file)
@@ -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 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 = remain_on_channel,
        .cancel_remain_on_channel = cancel_remain_on_channel,
        .mgmt_tx_cancel_wait = mgmt_tx_cancel_wait,
-       .mgmt_tx = WILC_WFI_mgmt_tx,
+       .mgmt_tx = 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,