summaryrefslogtreecommitdiffstats
path: root/net/caif/cfcnfg.c
diff options
context:
space:
mode:
authorSjur Braendeland <sjur.braendeland@stericsson.com>2010-09-21 11:44:44 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-21 18:05:30 -0700
commitb04367df66eb63444d38c43d15f5e39499d85ae6 (patch)
treebeb31309a5ab2000ad07b92ee4c4e22a6cbc2a90 /net/caif/cfcnfg.c
parent9c44c9fa78c5a449699491f0355189e2a09c242a (diff)
downloadlinux-b04367df66eb63444d38c43d15f5e39499d85ae6.tar.gz
linux-b04367df66eb63444d38c43d15f5e39499d85ae6.tar.bz2
linux-b04367df66eb63444d38c43d15f5e39499d85ae6.zip
caif: Minor fixes in log prints.
Use pr_debug for flow control printouts, and refine an error printout. Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/cfcnfg.c')
-rw-r--r--net/caif/cfcnfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/cfcnfg.c b/net/caif/cfcnfg.c
index ef93a131310b..41adafd18914 100644
--- a/net/caif/cfcnfg.c
+++ b/net/caif/cfcnfg.c
@@ -197,7 +197,7 @@ int cfcnfg_disconn_adapt_layer(struct cfcnfg *cnfg, struct cflayer *adap_layer)
caif_assert(adap_layer != NULL);
channel_id = adap_layer->id;
if (adap_layer->dn == NULL || channel_id == 0) {
- pr_err("adap_layer->id is 0\n");
+ pr_err("adap_layer->dn == NULL or adap_layer->id is 0\n");
ret = -ENOTCONN;
goto end;
}