diff options
author | Tilman Schmidt <tilman@imap.cc> | 2010-07-05 10:19:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-07 19:57:54 -0400 |
commit | 7d060ed2877ff6d00e7238226edbaf91493d6d0b (patch) | |
tree | afa8285815a99f21a692320f28008d4250089002 /drivers/isdn | |
parent | 0cae6efdd7633624d8ecdec97a1d9e5a2a73352f (diff) |
isdn/gigaset: reduce syslog spam
Downgrade some error messages which occur frequently during
normal operation to debug messages.
Impact: logging
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/gigaset/capi.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/isdn/gigaset/capi.c b/drivers/isdn/gigaset/capi.c index 3ef149fe48c8..e5ea344a551a 100644 --- a/drivers/isdn/gigaset/capi.c +++ b/drivers/isdn/gigaset/capi.c | |||
@@ -383,13 +383,13 @@ void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *dskb) | |||
383 | ++bcs->trans_up; | 383 | ++bcs->trans_up; |
384 | 384 | ||
385 | if (!ap) { | 385 | if (!ap) { |
386 | dev_err(cs->dev, "%s: no application\n", __func__); | 386 | gig_dbg(DEBUG_MCMD, "%s: application gone", __func__); |
387 | return; | 387 | return; |
388 | } | 388 | } |
389 | 389 | ||
390 | /* don't send further B3 messages if disconnected */ | 390 | /* don't send further B3 messages if disconnected */ |
391 | if (bcs->apconnstate < APCONN_ACTIVE) { | 391 | if (bcs->apconnstate < APCONN_ACTIVE) { |
392 | gig_dbg(DEBUG_MCMD, "disconnected, discarding ack"); | 392 | gig_dbg(DEBUG_MCMD, "%s: disconnected", __func__); |
393 | return; | 393 | return; |
394 | } | 394 | } |
395 | 395 | ||
@@ -427,13 +427,14 @@ void gigaset_skb_rcvd(struct bc_state *bcs, struct sk_buff *skb) | |||
427 | bcs->trans_down++; | 427 | bcs->trans_down++; |
428 | 428 | ||
429 | if (!ap) { | 429 | if (!ap) { |
430 | dev_err(cs->dev, "%s: no application\n", __func__); | 430 | gig_dbg(DEBUG_MCMD, "%s: application gone", __func__); |
431 | dev_kfree_skb_any(skb); | ||
431 | return; | 432 | return; |
432 | } | 433 | } |
433 | 434 | ||
434 | /* don't send further B3 messages if disconnected */ | 435 | /* don't send further B3 messages if disconnected */ |
435 | if (bcs->apconnstate < APCONN_ACTIVE) { | 436 | if (bcs->apconnstate < APCONN_ACTIVE) { |
436 | gig_dbg(DEBUG_MCMD, "disconnected, discarding data"); | 437 | gig_dbg(DEBUG_MCMD, "%s: disconnected", __func__); |
437 | dev_kfree_skb_any(skb); | 438 | dev_kfree_skb_any(skb); |
438 | return; | 439 | return; |
439 | } | 440 | } |
@@ -752,7 +753,7 @@ void gigaset_isdn_connD(struct bc_state *bcs) | |||
752 | ap = bcs->ap; | 753 | ap = bcs->ap; |
753 | if (!ap) { | 754 | if (!ap) { |
754 | spin_unlock_irqrestore(&bcs->aplock, flags); | 755 | spin_unlock_irqrestore(&bcs->aplock, flags); |
755 | dev_err(cs->dev, "%s: no application\n", __func__); | 756 | gig_dbg(DEBUG_CMD, "%s: application gone", __func__); |
756 | return; | 757 | return; |
757 | } | 758 | } |
758 | if (bcs->apconnstate == APCONN_NONE) { | 759 | if (bcs->apconnstate == APCONN_NONE) { |
@@ -848,7 +849,7 @@ void gigaset_isdn_connB(struct bc_state *bcs) | |||
848 | ap = bcs->ap; | 849 | ap = bcs->ap; |
849 | if (!ap) { | 850 | if (!ap) { |
850 | spin_unlock_irqrestore(&bcs->aplock, flags); | 851 | spin_unlock_irqrestore(&bcs->aplock, flags); |
851 | dev_err(cs->dev, "%s: no application\n", __func__); | 852 | gig_dbg(DEBUG_CMD, "%s: application gone", __func__); |
852 | return; | 853 | return; |
853 | } | 854 | } |
854 | if (!bcs->apconnstate) { | 855 | if (!bcs->apconnstate) { |
@@ -906,13 +907,12 @@ void gigaset_isdn_connB(struct bc_state *bcs) | |||
906 | */ | 907 | */ |
907 | void gigaset_isdn_hupB(struct bc_state *bcs) | 908 | void gigaset_isdn_hupB(struct bc_state *bcs) |
908 | { | 909 | { |
909 | struct cardstate *cs = bcs->cs; | ||
910 | struct gigaset_capi_appl *ap = bcs->ap; | 910 | struct gigaset_capi_appl *ap = bcs->ap; |
911 | 911 | ||
912 | /* ToDo: assure order of DISCONNECT_B3_IND and DISCONNECT_IND ? */ | 912 | /* ToDo: assure order of DISCONNECT_B3_IND and DISCONNECT_IND ? */ |
913 | 913 | ||
914 | if (!ap) { | 914 | if (!ap) { |
915 | dev_err(cs->dev, "%s: no application\n", __func__); | 915 | gig_dbg(DEBUG_CMD, "%s: application gone", __func__); |
916 | return; | 916 | return; |
917 | } | 917 | } |
918 | 918 | ||