Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xcap
xcap-capability-linux
Commits
054b08d4
Commit
054b08d4
authored
Aug 25, 2005
by
Hong Liu
Committed by
James Ketrenos
Nov 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't set hardware WEP if we are actually using TKIP/AES.
Signed-off-by:
Hong Liu
<
hong.liu@intel.com
>
parent
55135791
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
drivers/net/wireless/ipw2100.c
drivers/net/wireless/ipw2100.c
+5
-2
No files found.
drivers/net/wireless/ipw2100.c
View file @
054b08d4
...
@@ -5443,8 +5443,11 @@ static void shim__set_security(struct net_device *dev,
...
@@ -5443,8 +5443,11 @@ static void shim__set_security(struct net_device *dev,
else
else
memcpy
(
priv
->
ieee
->
sec
.
keys
[
i
],
sec
->
keys
[
i
],
memcpy
(
priv
->
ieee
->
sec
.
keys
[
i
],
sec
->
keys
[
i
],
sec
->
key_sizes
[
i
]);
sec
->
key_sizes
[
i
]);
priv
->
ieee
->
sec
.
flags
|=
(
1
<<
i
);
if
(
sec
->
level
==
SEC_LEVEL_1
)
{
priv
->
status
|=
STATUS_SECURITY_UPDATED
;
priv
->
ieee
->
sec
.
flags
|=
(
1
<<
i
);
priv
->
status
|=
STATUS_SECURITY_UPDATED
;
}
else
priv
->
ieee
->
sec
.
flags
&=
~
(
1
<<
i
);
}
}
}
}
...
...
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