Browse Source

n_gsm: copy mtu over when configuring via ioctl interface

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>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ken Mills 14 years ago
parent
commit
91f78f3669
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/tty/n_gsm.c

+ 1 - 0
drivers/tty/n_gsm.c

@@ -2414,6 +2414,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;