Commit d9595ce3 authored by Joe Perches's avatar Joe Perches Committed by John W. Linville

rtlwifi: Remove incorrect logging message prefixes

pr_fmt() adds them.  These are unnecessary and wrong.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 481b9606
...@@ -84,7 +84,7 @@ void rtl92c_read_chip_version(struct ieee80211_hw *hw) ...@@ -84,7 +84,7 @@ void rtl92c_read_chip_version(struct ieee80211_hw *hw)
} }
} }
rtlhal->version = (enum version_8192c)chip_version; rtlhal->version = (enum version_8192c)chip_version;
pr_info("rtl8192cu: Chip version 0x%x\n", chip_version); pr_info("Chip version 0x%x\n", chip_version);
switch (rtlhal->version) { switch (rtlhal->version) {
case VERSION_NORMAL_TSMC_CHIP_92C_1T2R: case VERSION_NORMAL_TSMC_CHIP_92C_1T2R:
RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
......
...@@ -154,9 +154,9 @@ static int rtl92d_init_sw_vars(struct ieee80211_hw *hw) ...@@ -154,9 +154,9 @@ static int rtl92d_init_sw_vars(struct ieee80211_hw *hw)
rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps;
rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps;
if (!rtlpriv->psc.inactiveps) if (!rtlpriv->psc.inactiveps)
pr_info("rtl8192ce: Power Save off (module option)\n"); pr_info("Power Save off (module option)\n");
if (!rtlpriv->psc.fwctrl_lps) if (!rtlpriv->psc.fwctrl_lps)
pr_info("rtl8192ce: FW Power Save off (module option)\n"); pr_info("FW Power Save off (module option)\n");
rtlpriv->psc.reg_fwctrl_lps = 3; rtlpriv->psc.reg_fwctrl_lps = 3;
rtlpriv->psc.reg_max_lps_awakeintvl = 5; rtlpriv->psc.reg_max_lps_awakeintvl = 5;
/* for ASPM, you can close aspm through /* for ASPM, you can close aspm through
......
...@@ -168,9 +168,9 @@ static int rtl92s_init_sw_vars(struct ieee80211_hw *hw) ...@@ -168,9 +168,9 @@ static int rtl92s_init_sw_vars(struct ieee80211_hw *hw)
rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps;
rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps;
if (!rtlpriv->psc.inactiveps) if (!rtlpriv->psc.inactiveps)
pr_info("rtl8192ce: Power Save off (module option)\n"); pr_info("Power Save off (module option)\n");
if (!rtlpriv->psc.fwctrl_lps) if (!rtlpriv->psc.fwctrl_lps)
pr_info("rtl8192ce: FW Power Save off (module option)\n"); pr_info("FW Power Save off (module option)\n");
rtlpriv->psc.reg_fwctrl_lps = 3; rtlpriv->psc.reg_fwctrl_lps = 3;
rtlpriv->psc.reg_max_lps_awakeintvl = 5; rtlpriv->psc.reg_max_lps_awakeintvl = 5;
/* for ASPM, you can close aspm through /* for ASPM, you can close aspm through
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment