n_gsm: Send CLD command on exit
authorAlan Cox <alan@linux.intel.com>
Fri, 26 Aug 2011 10:28:11 +0000 (11:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 18:01:14 +0000 (11:01 -0700)
commitf17141fdd407de78379222dd59d6f161437db4c8
tree109e62b0085f745f9dd0710b1d746ace2ada53b5
parenta4c9fe8daf88b27f81be8022d49c073d37fe645e
n_gsm: Send CLD command on exit

A DISC on DLCI 0 should close down the mux but Michael Lauer reports this
is not the case for some modems. Send a CLD as well.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Tested-by: Michael Lauer
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/n_gsm.c