Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205590
b: refs/heads/master
c: 5c9824e
h: refs/heads/master
v: v3
  • Loading branch information
Charles Clément authored and Greg Kroah-Hartman committed Jun 18, 2010
1 parent 1911ec8 commit eaf68f1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 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: b83cc2ed466f1b9938521d73fefe8b34baf265ea
refs/heads/master: 5c9824e124f67c2590e1dbd33045603c36168609
2 changes: 1 addition & 1 deletion trunk/drivers/staging/vt6655/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ typedef enum __device_init_type {
#define NDIS_802_11_PMKID_CANDIDATE_PREAUTH_ENABLED 0x01

// PMKID Structures
typedef UCHAR NDIS_802_11_PMKID_VALUE[16];
typedef unsigned char NDIS_802_11_PMKID_VALUE[16];


typedef enum _NDIS_802_11_WEP_STATUS
Expand Down
14 changes: 8 additions & 6 deletions trunk/drivers/staging/vt6655/device_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ static void device_free_rd0_ring(PSDevice pDevice);
static void device_free_rd1_ring(PSDevice pDevice);
static void device_free_rings(PSDevice pDevice);
static void device_free_frag_buf(PSDevice pDevice);
static int Config_FileGetParameter(UCHAR *string, UCHAR *dest,UCHAR *source);
static int Config_FileGetParameter(unsigned char *string,
unsigned char *dest, unsigned char *source);


/*--------------------- Export Variables --------------------------*/
Expand Down Expand Up @@ -2978,9 +2979,10 @@ static inline u32 ether_crc(int length, unsigned char *data)
}

//2008-8-4 <add> by chester
static int Config_FileGetParameter(UCHAR *string, UCHAR *dest,UCHAR *source)
static int Config_FileGetParameter(unsigned char *string,
unsigned char *dest, unsigned char *source)
{
UCHAR buf1[100];
unsigned char buf1[100];
int source_len = strlen(source);

memset(buf1,0,100);
Expand All @@ -2993,9 +2995,9 @@ static int Config_FileGetParameter(UCHAR *string, UCHAR *dest,UCHAR *source)
}

int Config_FileOperation(PSDevice pDevice,BOOL fwrite,unsigned char *Parameter) {
UCHAR *config_path=CONFIG_PATH;
UCHAR *buffer=NULL;
UCHAR tmpbuffer[20];
unsigned char *config_path = CONFIG_PATH;
unsigned char *buffer = NULL;
unsigned char tmpbuffer[20];
struct file *filp=NULL;
mm_segment_t old_fs = get_fs();
//int oldfsuid=0,oldfsgid=0;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/vt6655/ttype.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ typedef int BOOL;
* but it doesn't matter if they're signed or unsigned.
*/

typedef unsigned char UCHAR;
typedef unsigned short USHORT;
typedef unsigned int UINT;
typedef unsigned long ULONG;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/vt6655/wmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ typedef void (*TimerFunction)(ULONG);

//+++ NDIS related

typedef UCHAR NDIS_802_11_MAC_ADDRESS[6];
typedef unsigned char NDIS_802_11_MAC_ADDRESS[6];
typedef struct _NDIS_802_11_AI_REQFI
{
USHORT Capabilities;
Expand Down

0 comments on commit eaf68f1

Please sign in to comment.