提交 bf1c820f 编写于 作者: M Malcolm Priestley 提交者: Greg Kroah-Hartman

staging: vt6656: remove typedef VIA_PKT_TYPE.

The packet types PK_TYPE_11* are already defined in baseband.h as macros

assign variable as u8 type.
Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a0ad2776
...@@ -221,15 +221,6 @@ typedef enum _VIA_BB_TYPE ...@@ -221,15 +221,6 @@ typedef enum _VIA_BB_TYPE
BB_TYPE_11G BB_TYPE_11G
} VIA_BB_TYPE, *PVIA_BB_TYPE; } VIA_BB_TYPE, *PVIA_BB_TYPE;
/* 0:11a, 1:11b, 2:11gb (only CCK in BasicRate), 3:11ga(OFDM in BasicRate) */
typedef enum _VIA_PKT_TYPE
{
PK_TYPE_11A = 0,
PK_TYPE_11B,
PK_TYPE_11GB,
PK_TYPE_11GA
} VIA_PKT_TYPE, *PVIA_PKT_TYPE;
/*++ NDIS related */ /*++ NDIS related */
typedef enum __DEVICE_NDIS_STATUS { typedef enum __DEVICE_NDIS_STATUS {
...@@ -550,7 +541,7 @@ struct vnt_private { ...@@ -550,7 +541,7 @@ struct vnt_private {
/* Rate */ /* Rate */
VIA_BB_TYPE byBBType; /* 0: 11A, 1:11B, 2:11G */ VIA_BB_TYPE byBBType; /* 0: 11A, 1:11B, 2:11G */
VIA_PKT_TYPE byPacketType; /* 0:11a 1:11b 2:11gb 3:11ga */ u8 byPacketType; /* 0:11a 1:11b 2:11gb 3:11ga */
u16 wBasicRate; u16 wBasicRate;
u8 byACKRate; u8 byACKRate;
u8 byTopOFDMBasicRate; u8 byTopOFDMBasicRate;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册