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....@atmel.com>
---
 drivers/staging/wilc1000/host_interface.c | 7 ++++---
 drivers/staging/wilc1000/host_interface.h | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c 
b/drivers/staging/wilc1000/host_interface.c
index a3015b1..256369c 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -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;
diff --git a/drivers/staging/wilc1000/host_interface.h 
b/drivers/staging/wilc1000/host_interface.h
index c1a9cce..537845e 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -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;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to