staging: wilc1000: wilc_wfi_cfgoperations.c : remove unused functions
This patch removes unused functions from the wilc_wfi_cfgoperations.c. - WILC_WFI_dump_survey - WILC_WFI_auth - WILC_WFI_assoc - WILC_WFI_deauth - WILC_WFI_disassoc - WILC_WFI_set_bitrate_mask Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fc1848acb9
commit
e4bc3d677e
@ -1532,31 +1532,6 @@ static int set_default_key(struct wiphy *wiphy, struct net_device *netdev, u8 ke
|
||||
return s32Error;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief WILC_WFI_dump_survey
|
||||
* @details Get site survey information
|
||||
* @param[in]
|
||||
* @return int : Return 0 on Success.
|
||||
* @author mdaftedar
|
||||
* @date 01 MAR 2012
|
||||
* @version 1.0
|
||||
*/
|
||||
static int WILC_WFI_dump_survey(struct wiphy *wiphy, struct net_device *netdev,
|
||||
int idx, struct survey_info *info)
|
||||
{
|
||||
s32 s32Error = 0;
|
||||
|
||||
|
||||
if (idx != 0) {
|
||||
s32Error = -ENOENT;
|
||||
PRINT_ER("Error Idx value doesn't equal zero: Error(%d)\n", s32Error);
|
||||
|
||||
}
|
||||
|
||||
return s32Error;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief get_station
|
||||
* @details Get station information for the station identified by @mac
|
||||
@ -1665,70 +1640,6 @@ static int change_bss(struct wiphy *wiphy, struct net_device *dev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief WILC_WFI_auth
|
||||
* @details Request to authenticate with the specified peer
|
||||
* @param[in]
|
||||
* @return int : Return 0 on Success.
|
||||
* @author mdaftedar
|
||||
* @date 01 MAR 2012
|
||||
* @version 1.0
|
||||
*/
|
||||
static int WILC_WFI_auth(struct wiphy *wiphy, struct net_device *dev,
|
||||
struct cfg80211_auth_request *req)
|
||||
{
|
||||
PRINT_D(CFG80211_DBG, "In Authentication Function\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief WILC_WFI_assoc
|
||||
* @details Request to (re)associate with the specified peer
|
||||
* @param[in]
|
||||
* @return int : Return 0 on Success.
|
||||
* @author mdaftedar
|
||||
* @date 01 MAR 2012
|
||||
* @version 1.0
|
||||
*/
|
||||
static int WILC_WFI_assoc(struct wiphy *wiphy, struct net_device *dev,
|
||||
struct cfg80211_assoc_request *req)
|
||||
{
|
||||
PRINT_D(CFG80211_DBG, "In Association Function\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief WILC_WFI_deauth
|
||||
* @details Request to deauthenticate from the specified peer
|
||||
* @param[in]
|
||||
* @return int : Return 0 on Success.
|
||||
* @author mdaftedar
|
||||
* @date 01 MAR 2012
|
||||
* @version 1.0
|
||||
*/
|
||||
static int WILC_WFI_deauth(struct wiphy *wiphy, struct net_device *dev,
|
||||
struct cfg80211_deauth_request *req, void *cookie)
|
||||
{
|
||||
PRINT_D(CFG80211_DBG, "In De-authentication Function\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief WILC_WFI_disassoc
|
||||
* @details Request to disassociate from the specified peer
|
||||
* @param[in]
|
||||
* @return int : Return 0 on Success
|
||||
* @author mdaftedar
|
||||
* @date 01 MAR 2012
|
||||
* @version 1.0
|
||||
*/
|
||||
static int WILC_WFI_disassoc(struct wiphy *wiphy, struct net_device *dev,
|
||||
struct cfg80211_disassoc_request *req, void *cookie)
|
||||
{
|
||||
PRINT_D(CFG80211_DBG, "In Disassociation Function\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief set_wiphy_params
|
||||
* @details Notify that wiphy parameters have changed;
|
||||
@ -1787,26 +1698,6 @@ static int set_wiphy_params(struct wiphy *wiphy, u32 changed)
|
||||
return s32Error;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief WILC_WFI_set_bitrate_mask
|
||||
* @details set the bitrate mask configuration
|
||||
* @param[in]
|
||||
* @return int : Return 0 on Success
|
||||
* @author mdaftedar
|
||||
* @date 01 MAR 2012
|
||||
* @version 1.0
|
||||
*/
|
||||
static int WILC_WFI_set_bitrate_mask(struct wiphy *wiphy,
|
||||
struct net_device *dev, const u8 *peer,
|
||||
const struct cfg80211_bitrate_mask *mask)
|
||||
{
|
||||
s32 s32Error = 0;
|
||||
|
||||
PRINT_D(CFG80211_DBG, "Setting Bitrate mask function\n");
|
||||
return s32Error;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief set_pmksa
|
||||
* @details Cache a PMKID for a BSSID. This is mostly useful for fullmac
|
||||
|
Loading…
x
Reference in New Issue
Block a user