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
18cb6e32
Commit
18cb6e32
authored
Jan 05, 2011
by
John W. Linville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ath5k: qualify global modparam_nohwcrypt variable
Signed-off-by:
John W. Linville
<
linville@tuxdriver.com
>
parent
3e6109c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.c
+2
-2
drivers/net/wireless/ath/ath5k/mac80211-ops.c
drivers/net/wireless/ath/ath5k/mac80211-ops.c
+2
-2
No files found.
drivers/net/wireless/ath/ath5k/base.c
View file @
18cb6e32
...
@@ -61,8 +61,8 @@
...
@@ -61,8 +61,8 @@
#include "debug.h"
#include "debug.h"
#include "ani.h"
#include "ani.h"
int
modparam_nohwcrypt
;
int
ath5k_
modparam_nohwcrypt
;
module_param_named
(
nohwcrypt
,
modparam_nohwcrypt
,
bool
,
S_IRUGO
);
module_param_named
(
nohwcrypt
,
ath5k_
modparam_nohwcrypt
,
bool
,
S_IRUGO
);
MODULE_PARM_DESC
(
nohwcrypt
,
"Disable hardware encryption."
);
MODULE_PARM_DESC
(
nohwcrypt
,
"Disable hardware encryption."
);
static
int
modparam_all_channels
;
static
int
modparam_all_channels
;
...
...
drivers/net/wireless/ath/ath5k/mac80211-ops.c
View file @
18cb6e32
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
#include "base.h"
#include "base.h"
#include "reg.h"
#include "reg.h"
extern
int
modparam_nohwcrypt
;
extern
int
ath5k_
modparam_nohwcrypt
;
/* functions used from base.c */
/* functions used from base.c */
void
set_beacon_filter
(
struct
ieee80211_hw
*
hw
,
bool
enable
);
void
set_beacon_filter
(
struct
ieee80211_hw
*
hw
,
bool
enable
);
...
@@ -485,7 +485,7 @@ ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
...
@@ -485,7 +485,7 @@ ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
struct
ath_common
*
common
=
ath5k_hw_common
(
ah
);
struct
ath_common
*
common
=
ath5k_hw_common
(
ah
);
int
ret
=
0
;
int
ret
=
0
;
if
(
modparam_nohwcrypt
)
if
(
ath5k_
modparam_nohwcrypt
)
return
-
EOPNOTSUPP
;
return
-
EOPNOTSUPP
;
switch
(
key
->
cipher
)
{
switch
(
key
->
cipher
)
{
...
...
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