diff options
author | Tilman Schmidt <tilman@imap.cc> | 2010-02-22 13:09:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-26 01:24:23 -0800 |
commit | 1528b18f7ec2b907711f37667c68e10d9296c882 (patch) | |
tree | 00c887ea15474334898ae1f89a05706be49079ed /drivers/isdn/gigaset/asyncdata.c | |
parent | 63e055d1c6e3a5f6d370cc841d621d5fa4d5d834 (diff) | |
download | kernel_samsung_smdk4412-1528b18f7ec2b907711f37667c68e10d9296c882.zip kernel_samsung_smdk4412-1528b18f7ec2b907711f37667c68e10d9296c882.tar.gz kernel_samsung_smdk4412-1528b18f7ec2b907711f37667c68e10d9296c882.tar.bz2 |
gigaset: reduce syslog clutter
Improve readability of the Gigaset driver's kernel messages by
removing a few unnecessary messages and limiting the emission
of some debug messages more narrowly.
Impact: logging
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset/asyncdata.c')
-rw-r--r-- | drivers/isdn/gigaset/asyncdata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/gigaset/asyncdata.c b/drivers/isdn/gigaset/asyncdata.c index e913beb..c5016bd 100644 --- a/drivers/isdn/gigaset/asyncdata.c +++ b/drivers/isdn/gigaset/asyncdata.c @@ -67,14 +67,14 @@ static unsigned cmd_loop(unsigned numbytes, struct inbuf_t *inbuf) /* --v-- fall through --v-- */ case '\r': /* end of message line, pass to response handler */ - gig_dbg(DEBUG_TRANSCMD, "%s: End of Message (%d Bytes)", - __func__, cbytes); if (cbytes >= MAX_RESP_SIZE) { dev_warn(cs->dev, "response too large (%d)\n", cbytes); cbytes = MAX_RESP_SIZE; } cs->cbytes = cbytes; + gigaset_dbg_buffer(DEBUG_TRANSCMD, "received response", + cbytes, cs->respdata); gigaset_handle_modem_response(cs); cbytes = 0; |