Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46802a4f authored by Bob Copeland's avatar Bob Copeland Committed by John W. Linville
Browse files

ath5k: use bool for modparams



Current code uses int types, but both modparams are boolean values.

Changes-licensed-under: 3-Clause-BSD

Signed-off-by: default avatarBob Copeland <me@bobcopeland.com>
Acked-by: default avatarNick Kossifidis <mickflemm@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 56d2ac76
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -61,11 +61,11 @@


static int ath5k_calinterval = 10; /* Calibrate PHY every 10 secs (TODO: Fixme) */
static int ath5k_calinterval = 10; /* Calibrate PHY every 10 secs (TODO: Fixme) */
static int modparam_nohwcrypt;
static int modparam_nohwcrypt;
module_param_named(nohwcrypt, modparam_nohwcrypt, int, 0444);
module_param_named(nohwcrypt, 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;
module_param_named(all_channels, modparam_all_channels, int, 0444);
module_param_named(all_channels, modparam_all_channels, bool, S_IRUGO);
MODULE_PARM_DESC(all_channels, "Expose all channels the device can use.");
MODULE_PARM_DESC(all_channels, "Expose all channels the device can use.");