diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-01-05 09:39:59 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-05 14:36:27 -0500 |
commit | 18cb6e32e7aeea9c92af5793bee2b32536615502 (patch) | |
tree | 8dd01675dd9a8ba64b0612921357adb2b58f16c0 /drivers/net/wireless | |
parent | 3e6109c57468ed320beefd2861fe2cc418cccfc2 (diff) |
ath5k: qualify global modparam_nohwcrypt variable
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/mac80211-ops.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index fce9a987789c..019a74d533a6 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -61,8 +61,8 @@ | |||
61 | #include "debug.h" | 61 | #include "debug.h" |
62 | #include "ani.h" | 62 | #include "ani.h" |
63 | 63 | ||
64 | int modparam_nohwcrypt; | 64 | int ath5k_modparam_nohwcrypt; |
65 | module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO); | 65 | module_param_named(nohwcrypt, ath5k_modparam_nohwcrypt, bool, S_IRUGO); |
66 | MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption."); | 66 | MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption."); |
67 | 67 | ||
68 | static int modparam_all_channels; | 68 | static int modparam_all_channels; |
diff --git a/drivers/net/wireless/ath/ath5k/mac80211-ops.c b/drivers/net/wireless/ath/ath5k/mac80211-ops.c index de257a3430be..d76d68c99f72 100644 --- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c +++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include "base.h" | 46 | #include "base.h" |
47 | #include "reg.h" | 47 | #include "reg.h" |
48 | 48 | ||
49 | extern int modparam_nohwcrypt; | 49 | extern int ath5k_modparam_nohwcrypt; |
50 | 50 | ||
51 | /* functions used from base.c */ | 51 | /* functions used from base.c */ |
52 | void set_beacon_filter(struct ieee80211_hw *hw, bool enable); | 52 | 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 | struct ath_common *common = ath5k_hw_common(ah); | 485 | struct ath_common *common = ath5k_hw_common(ah); |
486 | int ret = 0; | 486 | int ret = 0; |
487 | 487 | ||
488 | if (modparam_nohwcrypt) | 488 | if (ath5k_modparam_nohwcrypt) |
489 | return -EOPNOTSUPP; | 489 | return -EOPNOTSUPP; |
490 | 490 | ||
491 | switch (key->cipher) { | 491 | switch (key->cipher) { |