Commit a146d42d authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: dead code remove 80211hdr.h

Remove all variables that are dead with this header
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 956be1a1
This diff is collapsed.
...@@ -73,7 +73,6 @@ ...@@ -73,7 +73,6 @@
* device specific * device specific
*/ */
#include "80211hdr.h"
#include "wcmd.h" #include "wcmd.h"
#include "desc.h" #include "desc.h"
#include "key.h" #include "key.h"
...@@ -603,11 +602,9 @@ struct vnt_private { ...@@ -603,11 +602,9 @@ struct vnt_private {
NDIS_802_11_WEP_STATUS eOldEncryptionStatus; NDIS_802_11_WEP_STATUS eOldEncryptionStatus;
u32 dwIVCounter; u32 dwIVCounter;
u8 abyPRNG[WLAN_WEPMAX_KEYLEN+3];
u8 byKeyIndex; u8 byKeyIndex;
u32 uKeyLength; u32 uKeyLength;
u8 abyKey[WLAN_WEP232_KEYLEN];
unsigned long key_entry_inuse; unsigned long key_entry_inuse;
/* for AP mode */ /* for AP mode */
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "desc.h" #include "desc.h"
#include "mac.h" #include "mac.h"
#include "80211hdr.h"
#include "usbpipe.h" #include "usbpipe.h"
/* /*
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#include "device.h" #include "device.h"
#include "mac.h" #include "mac.h"
#include "card.h" #include "card.h"
#include "80211hdr.h"
#include "wcmd.h" #include "wcmd.h"
#include "power.h" #include "power.h"
#include "baseband.h" #include "baseband.h"
...@@ -237,7 +236,6 @@ int bScheduleCommand(struct vnt_private *pDevice, ...@@ -237,7 +236,6 @@ int bScheduleCommand(struct vnt_private *pDevice,
return false; return false;
pDevice->eCmdQueue[pDevice->uCmdEnqueueIdx].eCmd = eCommand; pDevice->eCmdQueue[pDevice->uCmdEnqueueIdx].eCmd = eCommand;
pDevice->eCmdQueue[pDevice->uCmdEnqueueIdx].bForceSCAN = true; pDevice->eCmdQueue[pDevice->uCmdEnqueueIdx].bForceSCAN = true;
memset(pDevice->eCmdQueue[pDevice->uCmdEnqueueIdx].abyCmdDesireSSID, 0 , WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1);
if (pbyItem0 != NULL) { if (pbyItem0 != NULL) {
switch (eCommand) { switch (eCommand) {
case WLAN_CMD_RADIO: case WLAN_CMD_RADIO:
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#ifndef __WCMD_H__ #ifndef __WCMD_H__
#define __WCMD_H__ #define __WCMD_H__
#include "80211hdr.h"
#include "device.h" #include "device.h"
#define AUTHENTICATE_TIMEOUT 1000 //ms #define AUTHENTICATE_TIMEOUT 1000 //ms
...@@ -70,7 +69,6 @@ typedef enum tagCMD_STATUS { ...@@ -70,7 +69,6 @@ typedef enum tagCMD_STATUS {
typedef struct tagCMD_ITEM { typedef struct tagCMD_ITEM {
CMD_CODE eCmd; CMD_CODE eCmd;
u8 abyCmdDesireSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1];
bool bNeedRadioOFF; bool bNeedRadioOFF;
bool bRadioCmd; bool bRadioCmd;
bool bForceSCAN; bool bForceSCAN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment