Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
dec572cb
Commit
dec572cb
authored
Jun 22, 2010
by
Charles Clément
Committed by
Greg Kroah-Hartman
Jun 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Staging: vt6655: remove ULONG_PTR typedef
Signed-off-by:
Charles Clément
<
caratorn@gmail.com
>
parent
e54d9eb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
drivers/staging/vt6655/bssdb.c
drivers/staging/vt6655/bssdb.c
+4
-4
drivers/staging/vt6655/ttype.h
drivers/staging/vt6655/ttype.h
+0
-1
No files found.
drivers/staging/vt6655/bssdb.c
View file @
dec572cb
...
...
@@ -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
);
...
...
@@ -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
);
...
...
@@ -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
);
...
...
@@ -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
);
...
...
drivers/staging/vt6655/ttype.h
View file @
dec572cb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment