[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100320001748.GG1477@ucw.cz>
Date: Sat, 20 Mar 2010 01:17:48 +0100
From: Pavel Machek <pavel@....cz>
To: Sankar P <sankar.curiosity@...il.com>
Cc: gregkh@...e.de, penberg@...helsinki.fi, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists