diff options
author | Ken Mills <ken.k.mills@intel.com> | 2010-11-04 16:16:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-11 20:06:08 +0100 |
commit | 820e62ef3d39ba9414dd9b87dba2eedd7e403e53 (patch) | |
tree | f75a2b14eac42d2f9d8b06ace5236a77c08f5b7e /drivers/tty/n_gsm.c | |
parent | serial: bfin_5xx: grab port lock before making port termios changes (diff) | |
download | linux-820e62ef3d39ba9414dd9b87dba2eedd7e403e53.tar.xz linux-820e62ef3d39ba9414dd9b87dba2eedd7e403e53.zip |
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/n_gsm.c')
-rw-r--r-- | drivers/tty/n_gsm.c | 1 |
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; |