mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 13:22:57 +00:00
staging: wilc1000: rename WILC_WFI_set_power_mgmt
This patch replaces WILC_WFI_set_power_mgmt with set_power_mgmt. then makes set_power_mgmt static. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
531c7ceb93
commit
4653067955
1 changed files with 4 additions and 4 deletions
|
@ -2651,7 +2651,7 @@ static int dump_station(struct wiphy *wiphy, struct net_device *dev,
|
|||
|
||||
|
||||
/**
|
||||
* @brief WILC_WFI_set_power_mgmt
|
||||
* @brief set_power_mgmt
|
||||
* @details
|
||||
* @param[in]
|
||||
* @return int : Return 0 on Success.
|
||||
|
@ -2659,8 +2659,8 @@ static int dump_station(struct wiphy *wiphy, struct net_device *dev,
|
|||
* @date 01 JUL 2012
|
||||
* @version 1.0WILC_WFI_set_cqmWILC_WFI_set_cqm_rssi_configWILC_WFI_set_cqm_rssi_configWILC_WFI_set_cqm_rssi_configWILC_WFI_set_cqm_rssi_config_rssi_config
|
||||
*/
|
||||
int WILC_WFI_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
|
||||
bool enabled, int timeout)
|
||||
static int set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
|
||||
bool enabled, int timeout)
|
||||
{
|
||||
struct wilc_priv *priv;
|
||||
|
||||
|
@ -3410,7 +3410,7 @@ static struct cfg80211_ops wilc_cfg80211_ops = {
|
|||
.mgmt_tx_cancel_wait = mgmt_tx_cancel_wait,
|
||||
.mgmt_tx = mgmt_tx,
|
||||
.mgmt_frame_register = wilc_mgmt_frame_register,
|
||||
.set_power_mgmt = WILC_WFI_set_power_mgmt,
|
||||
.set_power_mgmt = set_power_mgmt,
|
||||
.set_cqm_rssi_config = WILC_WFI_set_cqm_rssi_config,
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue