isdn/gigaset: improve error handling querying firmware version
authorTilman Schmidt <tilman@imap.cc>
Wed, 25 Apr 2012 13:02:20 +0000 (13:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 May 2012 02:37:56 +0000 (22:37 -0400)
commite055d03dc088a990fe5ea24a2d64033a168da23c
treeece413271c28c34b5907689cdb6ecb13d672313e
parent62a1cfe052346b96a552b6a9178d412c709711bb
isdn/gigaset: improve error handling querying firmware version

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 <tilman@imap.cc>
CC: stable <stable@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/ev-layer.c