Re: [PATCH 6/6] staging: winbond: Convert typedef struct _SCAN_REQ_PARA to struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux