summaryrefslogtreecommitdiffstats
path: root/drivers/staging/winbond/localpara.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-12-18 23:08:18 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:42:32 -0800
commit440a233db4c117f34397abd3722d5802fe1b8c30 (patch)
tree26703713ffe53f0a63ffeeeefc652eb6a957541f /drivers/staging/winbond/localpara.h
parent395af561825095b2df30ed2ee86c3ed898783e8f (diff)
downloadop-kernel-dev-440a233db4c117f34397abd3722d5802fe1b8c30.zip
op-kernel-dev-440a233db4c117f34397abd3722d5802fe1b8c30.tar.gz
Staging: w35und: Convert typedef ChanInfo to struct chan_info
Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/localpara.h')
-rw-r--r--drivers/staging/winbond/localpara.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/winbond/localpara.h b/drivers/staging/winbond/localpara.h
index 6b29b56..7ca58d0 100644
--- a/drivers/staging/winbond/localpara.h
+++ b/drivers/staging/winbond/localpara.h
@@ -110,16 +110,16 @@
// 20061108 WPS IE buffer
#define MAX_IE_APPEND_SIZE 256 + 4 // Due to [E id][Length][OUI][Data] may 257 bytes
-typedef struct _ChanInfo
+struct chan_info
{
u8 band;
u8 ChanNo;
-} ChanInfo, *pChanInfo;
+};
typedef struct _CHAN_LIST
{
u16 Count;
- ChanInfo Channel[50]; // 100B
+ struct chan_info Channel[50]; // 100B
} CHAN_LIST, *psCHAN_LIST;
struct radio_off
@@ -189,7 +189,7 @@ struct wb_local_para
u8 RoamStatus;
u8 reserved7[3];
- ChanInfo CurrentChan; //Current channel no. and channel band. It may be changed by scanning.
+ struct chan_info CurrentChan; //Current channel no. and channel band. It may be changed by scanning.
u8 boHandover; // Roaming, Hnadover to other AP.
u8 boCCAbusy;
@@ -246,7 +246,7 @@ struct wb_local_para
u32 _dot11WEPUndecryptableCount;
u32 _dot11FrameDuplicateCount;
- ChanInfo IbssChanSetting; // 2B. Start IBSS Channel setting by registry or WWU.
+ struct chan_info IbssChanSetting; // 2B. Start IBSS Channel setting by registry or WWU.
u8 reserved_5[2]; //It may not be used after considering RF type,
//region and modulation type.
OpenPOWER on IntegriCloud