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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Oct 2010 07:33:33 +0000 (00:33 -0700)
commitc8701a08d6a4efeae45d84d0aa87172f23b14e3c
tree4f51fcc9ac6d091036b2d9bd24521d7ee4553ff0
parentb33ffa5cbf52ee751bb8068218ebb3c742c5a515
isdn/gigaset: fix bas_gigaset AT read error handling

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