Signed-off-by: John W. Linville <linville@tuxdriver.com>
#include "debug.h"
#include "ani.h"
-int modparam_nohwcrypt;
-module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO);
+int ath5k_modparam_nohwcrypt;
+module_param_named(nohwcrypt, ath5k_modparam_nohwcrypt, bool, S_IRUGO);
MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption.");
static int modparam_all_channels;
#include "base.h"
#include "reg.h"
-extern int modparam_nohwcrypt;
+extern int ath5k_modparam_nohwcrypt;
/* functions used from base.c */
void set_beacon_filter(struct ieee80211_hw *hw, bool enable);
struct ath_common *common = ath5k_hw_common(ah);
int ret = 0;
- if (modparam_nohwcrypt)
+ if (ath5k_modparam_nohwcrypt)
return -EOPNOTSUPP;
switch (key->cipher) {