diff options
author | Tilman Schmidt <tilman@imap.cc> | 2010-06-21 09:55:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-26 00:17:01 -0400 |
commit | 1b4843c5e8cbab86830da8a53b8288882060c059 (patch) | |
tree | e85f56181da19d0cd314cc369749f756b58e0063 /drivers/isdn/gigaset/gigaset.h | |
parent | 1ce368ff288ed872a8fee93b8a2b7706111feb9a (diff) |
isdn/gigaset: correct CAPI connection state storage
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>
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index c4e6c26897ea..8738b0821fc9 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -403,7 +403,9 @@ struct bc_state { | |||
403 | struct bas_bc_state *bas; /* usb hardware driver (base) */ | 403 | struct bas_bc_state *bas; /* usb hardware driver (base) */ |
404 | } hw; | 404 | } hw; |
405 | 405 | ||
406 | void *ap; /* LL application structure */ | 406 | void *ap; /* associated LL application */ |
407 | int apconnstate; /* LL application connection state */ | ||
408 | spinlock_t aplock; | ||
407 | }; | 409 | }; |
408 | 410 | ||
409 | struct cardstate { | 411 | struct cardstate { |