This is a note to let you know that I've just added the patch titled
isdn/gigaset: improve error handling querying firmware version
to the 3.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
isdn-gigaset-improve-error-handling-querying-firmware-version.patch
and it can be found in the queue-3.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From e055d03dc088a990fe5ea24a2d64033a168da23c Mon Sep 17 00:00:00 2001
From: Tilman Schmidt <[email protected]>
Date: Wed, 25 Apr 2012 13:02:20 +0000
Subject: isdn/gigaset: improve error handling querying firmware version
From: Tilman Schmidt <[email protected]>
commit e055d03dc088a990fe5ea24a2d64033a168da23c upstream.
An out-of-place "OK" response to the "AT+GMR" (get firmware version)
command turns out to be, more often than not, a delayed response to
a previous command rather than an actual error, so continue waiting
for the version number in that case.
Signed-off-by: Tilman Schmidt <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/isdn/gigaset/ev-layer.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/drivers/isdn/gigaset/ev-layer.c
+++ b/drivers/isdn/gigaset/ev-layer.c
@@ -190,6 +190,7 @@ struct reply_t gigaset_tab_nocid[] =
ACT_INIT} },
{RSP_OK, 121, 121, -1, 0, 0, {ACT_GOTVER,
ACT_INIT} },
+ {RSP_NONE, 121, 121, -1, 120, 0,
{ACT_GETSTRING} },
/* leave dle mode */
{RSP_INIT, 0, 0, SEQ_DLE0, 201, 5, {0},
"^SDLE=0\r"},
@@ -1314,8 +1315,9 @@ static void do_action(int action, struct
s = ev->ptr;
if (!strcmp(s, "OK")) {
+ /* OK without version string: assume old response */
*p_genresp = 1;
- *p_resp_code = RSP_ERROR;
+ *p_resp_code = RSP_NONE;
break;
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.4/isdn-gigaset-improve-error-handling-querying-firmware-version.patch
queue-3.4/isdn-gigaset-fix-capi-disconnect-b3-handling.patch
queue-3.4/isdn-gigaset-ratelimit-capi-message-dumps.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html