Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205902
b: refs/heads/master
c: 24fe608
h: refs/heads/master
v: v3
  • Loading branch information
Andres More authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent 1bc04c4 commit 6a595c8
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7526f1460259dd6382135b46ced6dfd508efe5e
refs/heads/master: 24fe608a2d4d78cc1a5f5424a4db5c13e3a00983
2 changes: 0 additions & 2 deletions trunk/drivers/staging/vt6656/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -795,9 +795,7 @@ typedef struct __device_info {
BOOL fTxDataInSleep;
BOOL IsTxDataTrigger;

#ifdef WPA_SM_Transtatus
BOOL fWPA_Authened; //is WPA/WPA-PSK or WPA2/WPA2-PSK authen??
#endif
BYTE byReAssocCount; //mike add:re-association retry times!
BYTE byLinkWaitCount;

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/vt6656/iocmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,13 @@ typedef struct tagSCmdZoneTypeSet {

} SCmdZoneTypeSet, *PSCmdZoneTypeSet;

#ifdef WPA_SM_Transtatus
typedef struct tagSWPAResult {
char ifname[100];
u8 proto;
u8 key_mgmt;
u8 eap_type;
BOOL authenticated;
} SWPAResult, *PSWPAResult;
#endif

typedef struct tagSCmdStartAP {

Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/staging/vt6656/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@
//static int msglevel =MSG_LEVEL_DEBUG;
static int msglevel =MSG_LEVEL_INFO;

#ifdef WPA_SM_Transtatus
SWPAResult wpa_Result;
#endif

/*--------------------- Static Functions --------------------------*/

Expand Down Expand Up @@ -656,7 +654,6 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
pReq->wResult = 0;
break;

#ifdef WPA_SM_Transtatus
case 0xFF:
memset(wpa_Result.ifname,0,sizeof(wpa_Result.ifname));
wpa_Result.proto = 0;
Expand Down Expand Up @@ -698,7 +695,6 @@ if(wpa_Result.authenticated==TRUE) {

pReq->wResult = 0;
break;
#endif

default:
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Private command not support..\n");
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,15 +1046,13 @@ BOOL device_alloc_frag_buf(PSDevice pDevice, PSDeFragControlBlock pDeF) {
static int device_open(struct net_device *dev) {
PSDevice pDevice=(PSDevice) netdev_priv(dev);

#ifdef WPA_SM_Transtatus
extern SWPAResult wpa_Result;
memset(wpa_Result.ifname,0,sizeof(wpa_Result.ifname));
wpa_Result.proto = 0;
wpa_Result.key_mgmt = 0;
wpa_Result.eap_type = 0;
wpa_Result.authenticated = FALSE;
pDevice->fWPA_Authened = FALSE;
#endif

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " device_open...\n");

Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/staging/vt6656/rxtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@
#include "rf.h"
#include "datarate.h"
#include "usbpipe.h"

#ifdef WPA_SM_Transtatus
#include "iocmd.h"
#endif

/*--------------------- Static Definitions -------------------------*/

Expand Down Expand Up @@ -2766,9 +2763,6 @@ nsDMA_tx_packet(
unsigned int status;
WORD wKeepRate = pDevice->wCurrentRate;
struct net_device_stats* pStats = &pDevice->stats;
//#ifdef WPA_SM_Transtatus
// extern SWPAResult wpa_Result;
//#endif
BOOL bTxeapol_key = FALSE;


Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/staging/vt6656/ttype.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ typedef int BOOL;
#define FALSE 0
#endif

#ifndef WPA_SM_Transtatus
#define WPA_SM_Transtatus
#endif

#ifndef Calcu_LinkQual
#define Calcu_LinkQual
#endif
Expand Down

0 comments on commit 6a595c8

Please sign in to comment.