staging: wilc1000: remove typedef from the struct tstrRcvdNetworkInfo
authorTony Cho <tony.cho@atmel.com>
Mon, 21 Sep 2015 03:16:38 +0000 (12:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 05:57:16 +0000 (22:57 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index 2fb7d3e6fda41bdf56cdc7cd790cdf0fc3f341bc..99b97664eadcb3a5bca0a1e0d2a46ae403130705 100644 (file)
@@ -418,7 +418,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> */
@@ -2241,13 +2241,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;
index c1a9cce4d0b5c549fa2532a9c3c471803f910def..537845e9d077692cbac07d3e7c1830307a8a5947 100644 (file)
@@ -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 page took 0.030052 seconds and 5 git commands to generate.