diff options
author | David Kilroy <kilroyd@googlemail.com> | 2008-12-09 18:05:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 14:02:02 -0500 |
commit | 62d714e5ebec9ad4d63bb9a6da19dfd83d3db860 (patch) | |
tree | 0a8b2058a03d079d51a32141bdb5d9493a4d4c22 /drivers/net/wireless/orinoco | |
parent | 499b702a8d848aaa15d6255e9302d9186827691e (diff) |
spectrum_cs: Fix function names used in debug strings
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco')
-rw-r--r-- | drivers/net/wireless/orinoco/spectrum_cs.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco/spectrum_cs.c b/drivers/net/wireless/orinoco/spectrum_cs.c index a2764764c1c0..b2ca2e39c2cb 100644 --- a/drivers/net/wireless/orinoco/spectrum_cs.c +++ b/drivers/net/wireless/orinoco/spectrum_cs.c | |||
@@ -248,13 +248,17 @@ static int spectrum_cs_config_check(struct pcmcia_device *p_dev, | |||
248 | /* Note that the CIS values need to be rescaled */ | 248 | /* Note that the CIS values need to be rescaled */ |
249 | if (cfg->vcc.present & (1 << CISTPL_POWER_VNOM)) { | 249 | if (cfg->vcc.present & (1 << CISTPL_POWER_VNOM)) { |
250 | if (vcc != cfg->vcc.param[CISTPL_POWER_VNOM] / 10000) { | 250 | if (vcc != cfg->vcc.param[CISTPL_POWER_VNOM] / 10000) { |
251 | DEBUG(2, "spectrum_cs_config: Vcc mismatch (vcc = %d, CIS = %d)\n", vcc, cfg->vcc.param[CISTPL_POWER_VNOM] / 10000); | 251 | DEBUG(2, "%s: Vcc mismatch (vcc = %d, CIS = %d)\n", |
252 | __func__, vcc, | ||
253 | cfg->vcc.param[CISTPL_POWER_VNOM] / 10000); | ||
252 | if (!ignore_cis_vcc) | 254 | if (!ignore_cis_vcc) |
253 | goto next_entry; | 255 | goto next_entry; |
254 | } | 256 | } |
255 | } else if (dflt->vcc.present & (1 << CISTPL_POWER_VNOM)) { | 257 | } else if (dflt->vcc.present & (1 << CISTPL_POWER_VNOM)) { |
256 | if (vcc != dflt->vcc.param[CISTPL_POWER_VNOM] / 10000) { | 258 | if (vcc != dflt->vcc.param[CISTPL_POWER_VNOM] / 10000) { |
257 | DEBUG(2, "spectrum_cs_config: Vcc mismatch (vcc = %d, CIS = %d)\n", vcc, dflt->vcc.param[CISTPL_POWER_VNOM] / 10000); | 259 | DEBUG(2, "%s: Vcc mismatch (vcc = %d, CIS = %d)\n", |
260 | __func__, vcc, | ||
261 | dflt->vcc.param[CISTPL_POWER_VNOM] / 10000); | ||
258 | if (!ignore_cis_vcc) | 262 | if (!ignore_cis_vcc) |
259 | goto next_entry; | 263 | goto next_entry; |
260 | } | 264 | } |