From: Ken Mills Date: Thu, 4 Nov 2010 15:16:24 +0000 (+0000) Subject: n_gsm: Copy n2 over when configuring via ioctl interface X-Git-Tag: v2.6.37-rc2~24^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=820e62ef3d39ba9414dd9b87dba2eedd7e403e53;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index 04ef3ef..7f79044 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;