diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 047f55092078..37ec2344dbc2 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -392,7 +392,7 @@ typedef struct __device_opt { } OPTIONS, *POPTIONS; -typedef struct __device_info { +typedef struct vnt_private { // netdev struct usb_device* usb; @@ -525,6 +525,7 @@ typedef struct __device_info { // 802.11 management + struct vnt_manager vnt_mgmt; SMgmtObject sMgmtObj; u64 qwCurrTSF; diff --git a/drivers/staging/vt6656/wmgr.h b/drivers/staging/vt6656/wmgr.h index 876c3526da20..f98309b38980 100644 --- a/drivers/staging/vt6656/wmgr.h +++ b/drivers/staging/vt6656/wmgr.h @@ -218,8 +218,8 @@ typedef enum tagWMAC_POWER_MODE { -// Tx Management Packet descriptor -typedef struct tagSTxMgmtPacket { +/* Tx Management Packet descriptor */ +typedef struct vnt_tx_mgmt { PUWLAN_80211HDR p80211Header; unsigned int cbMPDULen; @@ -228,8 +228,8 @@ typedef struct tagSTxMgmtPacket { } STxMgmtPacket, *PSTxMgmtPacket; -// Rx Management Packet descriptor -typedef struct tagSRxMgmtPacket { +/* Rx Management Packet descriptor */ +typedef struct vnt_rx_mgmt { PUWLAN_80211HDR p80211Header; u64 qwLocalTSF; @@ -244,7 +244,7 @@ typedef struct tagSRxMgmtPacket { -typedef struct tagSMgmtObject +typedef struct vnt_manager { void *pAdapter; // MAC address