aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Mills <ken.k.mills@intel.com>2011-01-25 14:17:45 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-17 15:14:42 -0800
commit1902395cb997a07ae9ec2ee99bd4cc8d027f6f99 (patch)
treee75c117d95446b1d49ad3a4d0910b3d1ad702294
parent90e1fed6f52370e558818ebf80c528b0d8b25fef (diff)
downloadlinux-hpc-1902395cb997a07ae9ec2ee99bd4cc8d027f6f99.tar.gz
n_gsm: copy mtu over when configuring via ioctl interface
commit 91f78f36694b8748fda855b1f9e3614b027a744f upstream. This field is settable but did not get copied. 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>
-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 c5f8e5bda2b29c..dc74295b352e55 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->initiator = c->initiator;
gsm->mru = c->mru;
+ gsm->mtu = c->mtu;
gsm->encoding = c->encapsulation;
gsm->adaption = c->adaption;
gsm->n2 = c->n2;