isdn/gigaset: encode HLC and BC together
authorTilman Schmidt <tilman@imap.cc>
Mon, 21 Jun 2010 13:55:05 +0000 (13:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 04:17:00 +0000 (21:17 -0700)
commit1ce368ff288ed872a8fee93b8a2b7706111feb9a
tree51aa769fdf626c918382fd363bdb0019ea3f8e0a
parent23b36778b4c82577746d26e4ac0ae66c6f462475
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>
drivers/isdn/gigaset/capi.c
drivers/isdn/gigaset/ev-layer.c
drivers/isdn/gigaset/gigaset.h