gigaset: correct clearing of at_state strings on RING
commit3a0a3a6b92edf181f849ebd8417122392ba73a96
authorTilman Schmidt <tilman@imap.cc>
Sun, 14 Mar 2010 12:58:05 +0000 (14 12:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2010 23:00:49 +0000 (15 16:00 -0700)
tree9cbaea368c2a5e90fcf0e2c1c45510da7bfa3cc1
parentbc35b4e347c047fb1c665bb761ddb22482539f7f
gigaset: correct clearing of at_state strings on RING

In RING handling, clear the table of received parameter strings in
a loop like everywhere else, instead of by enumeration which had
already gotten out of sync.

Impact: minor bugfix
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Acked-by: Karsten Keil <keil@b1-systems.de>
CC: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/ev-layer.c