Prev: [PATCH 4/6] staging: winbond: Remove typedef for standard types
Next: [RFC patch 0/3] RCU head debug objects
From: Sankar P on 19 Mar 2010 16:50 This patch converts typedef struct _SCAN_REQ_PARA to struct scan_req_para and the places where it is used. Signed-off-by: Sankar P <sankar.curiosity(a)gmail.com> --- drivers/staging/winbond/scan_s.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/winbond/scan_s.h b/drivers/staging/winbond/scan_s.h index 209717f..e677fc4 100644 --- a/drivers/staging/winbond/scan_s.h +++ b/drivers/staging/winbond/scan_s.h @@ -31,7 +31,9 @@ /////////////////////////////////////////////////////////////////////////// //Global data structures, Initial Scan & Background Scan -typedef struct _SCAN_REQ_PARA //mandatory parameters for SCAN request + +/* Mandatory parameters for SCAN request */ +struct scan_req_para { u32 ScanType; //passive/active scan @@ -40,14 +42,14 @@ typedef struct _SCAN_REQ_PARA //mandatory parameters for SCAN request struct SSID_Element sSSID; // 34B. scan only for this SSID u8 reserved_2[2]; -} SCAN_REQ_PARA, *psSCAN_REQ_PARA; +}; typedef struct _SCAN_PARAMETERS { u16 wState; u16 iCurrentChannelIndex; - SCAN_REQ_PARA sScanReq; + struct scan_req_para sScanReq; u8 BSSID[MAC_ADDR_LENGTH + 2]; //scan only for this BSSID -- 1.6.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |