projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51db998
)
isdn/gigaset: improve error handling when leaving DLE mode
author
Tilman Schmidt
<tilman@imap.cc>
Fri, 3 Oct 2014 15:03:32 +0000
(17:03 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 6 Oct 2014 01:17:52 +0000
(21:17 -0400)
Avoid cascading warnings when leaving DLE mode fails by clearing
the DLE flag before entering recovery.
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/ev-layer.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/gigaset/ev-layer.c
b/drivers/isdn/gigaset/ev-layer.c
index 7459b127ddd59fe00fd2872337c2c8eb5845f7d5..dcae14aef3763cd416c2f6e3d807d44e7c5b4624 100644
(file)
--- a/
drivers/isdn/gigaset/ev-layer.c
+++ b/
drivers/isdn/gigaset/ev-layer.c
@@
-1243,7
+1243,8
@@
static void do_action(int action, struct cardstate *cs,
break;
case ACT_FAILDLE0:
cs->cur_at_seq = SEQ_NONE;
- dev_warn(cs->dev, "Could not leave DLE mode.\n");
+ dev_warn(cs->dev, "Error leaving DLE mode.\n");
+ cs->dle = 0;
at_state2 = &cs->bcs[cs->curchannel].at_state;
disconnect(&at_state2);
schedule_init(cs, MS_RECOVER);