summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorKen Mills <ken.k.mills@intel.com>2010-11-04 15:16:24 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-11 11:06:08 -0800
commit820e62ef3d39ba9414dd9b87dba2eedd7e403e53 (patch)
treef75a2b14eac42d2f9d8b06ace5236a77c08f5b7e /drivers/tty
parent5bb06b62bc445eed66fb256c3b5f86e5911797e4 (diff)
n_gsm: Copy n2 over when configuring via ioctl interface
The n2 field is settable but didn't get propogated Signed-off-by: Ken Mills <ken.k.mills@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/n_gsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
index 04ef3ef0a422..7f79044ae996 100644
--- a/drivers/tty/n_gsm.c
+++ b/drivers/tty/n_gsm.c
@@ -2375,6 +2375,7 @@ static int gsmld_config(struct tty_struct *tty, struct gsm_mux *gsm,
gsm->mru = c->mru;
gsm->encoding = c->encapsulation;
gsm->adaption = c->adaption;
+ gsm->n2 = c->n2;
if (c->i == 1)
gsm->ftype = UIH;