Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363318
b: refs/heads/master
c: 1f9eedc
h: refs/heads/master
v: v3
  • Loading branch information
Andres More authored and Greg Kroah-Hartman committed Mar 11, 2013
1 parent 9bb13c9 commit 43ddbeb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 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: 52a7e64b06f70404c2539e4462063a8df9e4ee13
refs/heads/master: 1f9eedc2ad7ea89175ead78a175944e7152f3688
8 changes: 4 additions & 4 deletions trunk/drivers/staging/vt6656/bssdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ int BSSbInsertToBSSList(struct vnt_private *pDevice,
unsigned int uLen = pRSNWPA->len + 2;

if (uLen <= (uIELength -
(unsigned int) (ULONG_PTR) ((u8 *) pRSNWPA - pbyIEs))) {
(unsigned int) (u32) ((u8 *) pRSNWPA - pbyIEs))) {
pBSSList->wWPALen = uLen;
memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
WPA_ParseRSN(pBSSList, pRSNWPA);
Expand All @@ -443,7 +443,7 @@ int BSSbInsertToBSSList(struct vnt_private *pDevice,
unsigned int uLen = pRSN->len + 2;

if (uLen <= (uIELength -
(unsigned int) (ULONG_PTR) ((u8 *) pRSN - pbyIEs))) {
(unsigned int) (u32) ((u8 *) pRSN - pbyIEs))) {
pBSSList->wRSNLen = uLen;
memcpy(pBSSList->byRSNIE, pRSN, uLen);
WPA2vParseRSN(pBSSList, pRSN);
Expand Down Expand Up @@ -592,7 +592,7 @@ int BSSbUpdateToBSSList(struct vnt_private *pDevice,
if (pRSNWPA != NULL) {
unsigned int uLen = pRSNWPA->len + 2;
if (uLen <= (uIELength -
(unsigned int) (ULONG_PTR) ((u8 *) pRSNWPA - pbyIEs))) {
(unsigned int) (u32) ((u8 *) pRSNWPA - pbyIEs))) {
pBSSList->wWPALen = uLen;
memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
WPA_ParseRSN(pBSSList, pRSNWPA);
Expand All @@ -604,7 +604,7 @@ int BSSbUpdateToBSSList(struct vnt_private *pDevice,
if (pRSN != NULL) {
unsigned int uLen = pRSN->len + 2;
if (uLen <= (uIELength -
(unsigned int) (ULONG_PTR) ((u8 *) pRSN - pbyIEs))) {
(unsigned int) (u32) ((u8 *) pRSN - pbyIEs))) {
pBSSList->wRSNLen = uLen;
memcpy(pBSSList->byRSNIE, pRSN, uLen);
WPA2vParseRSN(pBSSList, pRSN);
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/vt6656/ttype.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@

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

typedef u32 ULONG_PTR;
typedef u32 DWORD_PTR;

// boolean pointer

#endif /* __TTYPE_H__ */

0 comments on commit 43ddbeb

Please sign in to comment.