lkml.org 
[lkml]   [2010]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/6] staging: winbond: Convert typedef struct _SCAN_REQ_PARA to struct
On Sat 2010-03-20 02:11:04, Sankar P wrote:
> 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@gmail.com>

ack.

> ---
> 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
>

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2010-03-20 01:21    [W:0.653 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site