@@ -419,7 +419,7 @@ typedef struct {
union message_body {
struct scan_attr strHostIFscanAttr; /*!< Host IF Scan Request Attributes message body */
struct connect_attr strHostIFconnectAttr; /*!< Host IF Connect Request Attributes message body */
- tstrRcvdNetworkInfo strRcvdNetworkInfo; /*!< Received Asynchronous Network Info message body */
+ struct rcvd_net_info strRcvdNetworkInfo; /*!< Received Asynchronous Network Info message body */
tstrRcvdGnrlAsyncInfo strRcvdGnrlAsyncInfo; /*!< Received General Asynchronous Info message body */
tstrHostIFkeyAttr strHostIFkeyAttr; /*!<>*/
tstrHostIFCfgParamAttr strHostIFCfgParamAttr; /*! <CFG Parameter message Body> */
@@ -2250,13 +2250,14 @@ static s32 Handle_ConnectTimeout(tstrWILC_WFIDrv *drvHandler)
/**
* @brief Handle_RcvdNtwrkInfo
* @details Handling received network information
- * @param[in] tstrRcvdNetworkInfo* pstrRcvdNetworkInfo
+ * @param[in] struct rcvd_net_info *pstrRcvdNetworkInfo
* @return Error code.
* @author
* @date
* @version 1.0
*/
-static s32 Handle_RcvdNtwrkInfo(tstrWILC_WFIDrv *drvHandler, tstrRcvdNetworkInfo *pstrRcvdNetworkInfo)
+static s32 Handle_RcvdNtwrkInfo(tstrWILC_WFIDrv *drvHandler,
+ struct rcvd_net_info *pstrRcvdNetworkInfo)
{
u32 i;
bool bNewNtwrkFound;
@@ -202,7 +202,7 @@ typedef struct {
} *WILC_WFIDrvHandle;
/*!
- * @struct tstrRcvdNetworkInfo
+ * @struct rcvd_net_info
* @brief Structure to hold Received Asynchronous Network info
* @details
* @todo
@@ -211,10 +211,10 @@ typedef struct {
* @date 25 March 2012
* @version 1.0
*/
-typedef struct _tstrRcvdNetworkInfo {
+struct rcvd_net_info {
u8 *pu8Buffer;
u32 u32Length;
-} tstrRcvdNetworkInfo;
+};
typedef struct _tstrHiddenNetworkInfo {
u8 *pu8ssid;
This patch removes typedef from the struct tstrRcvdNetworkInfo and renames it to rcvd_net_info in order to comply with the Linux coding style. Signed-off-by: Tony Cho <tony.cho@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 7 ++++--- drivers/staging/wilc1000/host_interface.h | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-)