isdn/gigaset: encode HLC and BC together
commit7432a149e2ad67e4b62f1bdb436006a0b81c0e3d
authorTilman Schmidt <tilman@imap.cc>
Mon, 21 Jun 2010 13:55:05 +0000 (21 13:55 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:10 +0000 (2 10:30 -0700)
tree541e8b3c63d1450f0d3e48ae466286af0cbac42c
parentc89ed09d025f08de1e78a85271543375c590fafd
isdn/gigaset: encode HLC and BC together

commit 1ce368ff288ed872a8fee93b8a2b7706111feb9a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/isdn/gigaset/capi.c
drivers/isdn/gigaset/ev-layer.c
drivers/isdn/gigaset/gigaset.h