isdn/gigaset: correct CAPI connection state storage
commit989e4282b0d74ccd334e5049e51a4ac80e17166a
authorTilman Schmidt <tilman@imap.cc>
Mon, 21 Jun 2010 13:55:20 +0000 (21 13:55 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:10 +0000 (2 10:30 -0700)
treebcd9b9b5d7327e70eb58e838dd0a8acbc89c9cbc
parent7432a149e2ad67e4b62f1bdb436006a0b81c0e3d
isdn/gigaset: correct CAPI connection state storage

commit 1b4843c5e8cbab86830da8a53b8288882060c059 upstream.

CAPI applications can handle several connections in parallel,
so one connection state per application isn't sufficient.
Store the connection state in the channel structure instead.

Impact: bugfix
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/capi.c
drivers/isdn/gigaset/common.c
drivers/isdn/gigaset/gigaset.h