Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205722
b: refs/heads/master
c: dec572c
h: refs/heads/master
v: v3
  • Loading branch information
Charles Clément authored and Greg Kroah-Hartman committed Jun 22, 2010
1 parent d907c05 commit 9ea856e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: e54d9eb95134120e992ed24ae895ff5b4f87a83e
refs/heads/master: dec572cbe67598080f7beb00279db1a5590cec35
8 changes: 4 additions & 4 deletions trunk/drivers/staging/vt6655/bssdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ BSSbInsertToBSSList (
if (pRSNWPA != NULL) {
unsigned int uLen = pRSNWPA->len + 2;

if (uLen <= (uIELength - (unsigned int)(ULONG_PTR)((unsigned char *)pRSNWPA - pbyIEs))) {
if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSNWPA - pbyIEs))) {
pBSSList->wWPALen = uLen;
memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
WPA_ParseRSN(pBSSList, pRSNWPA);
Expand All @@ -482,7 +482,7 @@ BSSbInsertToBSSList (

if (pRSN != NULL) {
unsigned int uLen = pRSN->len + 2;
if (uLen <= (uIELength - (unsigned int)(ULONG_PTR)((unsigned char *)pRSN - pbyIEs))) {
if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSN - pbyIEs))) {
pBSSList->wRSNLen = uLen;
memcpy(pBSSList->byRSNIE, pRSN, uLen);
WPA2vParseRSN(pBSSList, pRSN);
Expand Down Expand Up @@ -671,7 +671,7 @@ BSSbUpdateToBSSList (

if (pRSNWPA != NULL) {
unsigned int uLen = pRSNWPA->len + 2;
if (uLen <= (uIELength - (unsigned int)(ULONG_PTR)((unsigned char *)pRSNWPA - pbyIEs))) {
if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSNWPA - pbyIEs))) {
pBSSList->wWPALen = uLen;
memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
WPA_ParseRSN(pBSSList, pRSNWPA);
Expand All @@ -682,7 +682,7 @@ BSSbUpdateToBSSList (

if (pRSN != NULL) {
unsigned int uLen = pRSN->len + 2;
if (uLen <= (uIELength - (unsigned int)(ULONG_PTR)((unsigned char *)pRSN - pbyIEs))) {
if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSN - pbyIEs))) {
pBSSList->wRSNLen = uLen;
memcpy(pBSSList->byRSNIE, pRSN, uLen);
WPA2vParseRSN(pBSSList, pRSN);
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 @@ -86,7 +86,6 @@ typedef UQuadWord QWORD; // 64-bit

/****** Common pointer types ***********************************************/

typedef unsigned long ULONG_PTR; // 32-bit
typedef unsigned long DWORD_PTR; // 32-bit

// boolean pointer
Expand Down

0 comments on commit 9ea856e

Please sign in to comment.