This function is defined but never used anywhere,
so just delete it.
Signed-off-by: Chaehyun Lim <[email protected]>
---
drivers/staging/wilc1000/host_interface.c | 31 -------------------------------
drivers/staging/wilc1000/host_interface.h | 16 ----------------
2 files changed, 47 deletions(-)
diff --git a/drivers/staging/wilc1000/host_interface.c
b/drivers/staging/wilc1000/host_interface.c
index 99375ba..f217b62 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -4765,37 +4765,6 @@ s32 host_int_set_pmkid_info(tstrWILC_WFIDrv *hWFIDrv,
tstrHostIFpmkidAttr *pu8Pm
return s32Error;
}
-
-/**
- * @brief sets the pass phrase
- * @details AP/STA mode. This function gives the pass phrase used to
- * generate the Pre-Shared Key when WPA/WPA2 is
enabled
- * The length of the field can vary from 8 to 64
bytes,
- * the lower layer should get the
- * @param[in,out] handle to the wifi driver,
- * @param[in] String containing PSK
- * @return Error code indicating success/failure
- * @note
- * @author zsalah
- * @date 8 March 2012
- * @version 1.0
- */
-s32 host_int_set_RSNAConfigPSKPassPhrase(tstrWILC_WFIDrv *hWFIDrv, u8
*pu8PassPhrase,
- u8 u8Psklength)
-{
- s32 s32Error = 0;
- tstrWID strWID;
-
- /*validating psk length*/
- if ((u8Psklength > 7) && (u8Psklength < 65)) {
- strWID.u16WIDid = (u16)WID_11I_PSK;
- strWID.enuWIDtype = WID_STR;
- strWID.ps8WidVal = pu8PassPhrase;
- strWID.s32ValueSize = u8Psklength;
- }
-
- return s32Error;
-}
/**
* @brief host_int_get_MacAddress
* @details gets mac address
diff --git a/drivers/staging/wilc1000/host_interface.h
b/drivers/staging/wilc1000/host_interface.h
index 64a3de5..c94bebc 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -554,22 +554,6 @@ s32 host_int_add_tx_gtk(tstrWILC_WFIDrv *hWFIDrv, u8
u8KeyLen, u8 *pu8TxGtk, u8
s32 host_int_set_pmkid_info(tstrWILC_WFIDrv *hWFIDrv, tstrHostIFpmkidAttr
*pu8PmkidInfoArray);
/**
- * @brief sets the pass phrase
- * @details AP/STA mode. This function gives the pass phrase used to
- * generate the Pre-Shared Key when WPA/WPA2 is
enabled
- * The length of the field can vary from 8 to 64
bytes,
- * the lower layer should get the
- * @param[in,out] handle to the wifi driver,
- * @param[in] String containing PSK
- * @return Error code indicating success/failure
- * @note
- * @author zsalah
- * @date 8 March 2012
- * @version 1.0
- */
-s32 host_int_set_RSNAConfigPSKPassPhrase(tstrWILC_WFIDrv *hWFIDrv, u8
*pu8PassPhrase,
- u8 u8Psklength);
-/**
* @brief gets the pass phrase
* @details AP/STA mode. This function gets the pass phrase used to
* generate the Pre-Shared Key when WPA/WPA2 is
enabled
--
2.6.0
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel