diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-09-19 15:34:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-20 14:43:49 -0400 |
commit | eed72316586a3ad401eff054b7c7a3ea56869541 (patch) | |
tree | 7ca6dcc70ac5e1e7407502abfcee129ceb1d5bfa | |
parent | f36369afce40a20b6328590c1f9a777d0810f815 (diff) |
rtlwifi: rtl8192ce: Change modinfo messages
The various modparam messages are difficult to understand.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/sw.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c index 4c34c4c1ae56..b7ecb9e44aa9 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c | |||
@@ -133,6 +133,10 @@ int rtl92c_init_sw_vars(struct ieee80211_hw *hw) | |||
133 | rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; | 133 | rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; |
134 | rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; | 134 | rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; |
135 | rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; | 135 | rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; |
136 | if (!rtlpriv->psc.inactiveps) | ||
137 | pr_info("rtl8192ce: Power Save off (module option)\n"); | ||
138 | if (!rtlpriv->psc.fwctrl_lps) | ||
139 | pr_info("rtl8192ce: FW Power Save off (module option)\n"); | ||
136 | rtlpriv->psc.reg_fwctrl_lps = 3; | 140 | rtlpriv->psc.reg_fwctrl_lps = 3; |
137 | rtlpriv->psc.reg_max_lps_awakeintvl = 5; | 141 | rtlpriv->psc.reg_max_lps_awakeintvl = 5; |
138 | /* for ASPM, you can close aspm through | 142 | /* for ASPM, you can close aspm through |
@@ -356,10 +360,10 @@ module_param_named(swenc, rtl92ce_mod_params.sw_crypto, bool, 0444); | |||
356 | module_param_named(ips, rtl92ce_mod_params.inactiveps, bool, 0444); | 360 | module_param_named(ips, rtl92ce_mod_params.inactiveps, bool, 0444); |
357 | module_param_named(swlps, rtl92ce_mod_params.swctrl_lps, bool, 0444); | 361 | module_param_named(swlps, rtl92ce_mod_params.swctrl_lps, bool, 0444); |
358 | module_param_named(fwlps, rtl92ce_mod_params.fwctrl_lps, bool, 0444); | 362 | module_param_named(fwlps, rtl92ce_mod_params.fwctrl_lps, bool, 0444); |
359 | MODULE_PARM_DESC(swenc, "using hardware crypto (default 0 [hardware])\n"); | 363 | MODULE_PARM_DESC(swenc, "Set to 1 for software crypto (default 0)\n"); |
360 | MODULE_PARM_DESC(ips, "using no link power save (default 1 is open)\n"); | 364 | MODULE_PARM_DESC(ips, "Set to 0 to not use link power save (default 1)\n"); |
361 | MODULE_PARM_DESC(fwlps, "using linked fw control power save " | 365 | MODULE_PARM_DESC(swlps, "Set to 1 to use SW control power save (default 0)\n"); |
362 | "(default 1 is open)\n"); | 366 | MODULE_PARM_DESC(fwlps, "Set to 1 to use FW control power save (default 1)\n"); |
363 | 367 | ||
364 | static struct pci_driver rtl92ce_driver = { | 368 | static struct pci_driver rtl92ce_driver = { |
365 | .name = KBUILD_MODNAME, | 369 | .name = KBUILD_MODNAME, |