diff options
author | Tilman Schmidt <tilman@imap.cc> | 2010-06-21 09:55:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-26 00:17:00 -0400 |
commit | 1ce368ff288ed872a8fee93b8a2b7706111feb9a (patch) | |
tree | 51aa769fdf626c918382fd363bdb0019ea3f8e0a /drivers/isdn/gigaset/gigaset.h | |
parent | 23b36778b4c82577746d26e4ac0ae66c6f462475 (diff) |
isdn/gigaset: encode HLC and BC together
Adapt to buggy device firmware which accepts setting HLC only in the
same command line as BC, by encoding HLC and BC in a single command
if both are specified, and rejecting HLC without BC.
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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index f77ec54eb07d..c4e6c26897ea 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -186,10 +186,9 @@ void gigaset_dbg_buffer(enum debuglevel level, const unsigned char *msg, | |||
186 | #define AT_BC 3 | 186 | #define AT_BC 3 |
187 | #define AT_PROTO 4 | 187 | #define AT_PROTO 4 |
188 | #define AT_TYPE 5 | 188 | #define AT_TYPE 5 |
189 | #define AT_HLC 6 | 189 | #define AT_CLIP 6 |
190 | #define AT_CLIP 7 | ||
191 | /* total number */ | 190 | /* total number */ |
192 | #define AT_NUM 8 | 191 | #define AT_NUM 7 |
193 | 192 | ||
194 | /* variables in struct at_state_t */ | 193 | /* variables in struct at_state_t */ |
195 | #define VAR_ZSAU 0 | 194 | #define VAR_ZSAU 0 |