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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:13 +0000 (13:32 -0800)
commit54a9b1c56c2ef05d7230149a8661e412673ec2ea
tree3ea26394ce1a8a6299d627074ebfd36576cf84fc
parent4f3f51119829bae837ff57dbb5411eef584c6410
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>
drivers/isdn/gigaset/bas-gigaset.c