]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isdn/gigaset: fix bas_gigaset AT read error handling
authorTilman Schmidt <tilman@imap.cc>
Thu, 30 Sep 2010 13:34:40 +0000 (13:34 +0000)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:02 +0000 (23:40 +0100)
commit45edc39ac72b39b936b2c99361783d4fb8bc44c1
tree4c9caa44d24965c4b0c7df942d1009be98613003
parenta664846f7362bd6b9cf6f1e407dd86daa963da97
isdn/gigaset: fix bas_gigaset AT read error handling

commit c8701a08d6a4efeae45d84d0aa87172f23b14e3c upstream.

Rework the handling of USB errors in AT response reads
to fix a possible infinite retry loop and a memory leak,
and silence a few overly verbose kernel messages.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/isdn/gigaset/bas-gigaset.c