Commit 91f78f36 authored by Ken Mills's avatar Ken Mills Committed by Greg Kroah-Hartman

n_gsm: copy mtu over when configuring via ioctl interface

This field is settable but did not get copied.
Signed-off-by: default avatarKen Mills <ken.k.mills@intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 51df0acc
...@@ -2414,6 +2414,7 @@ static int gsmld_config(struct tty_struct *tty, struct gsm_mux *gsm, ...@@ -2414,6 +2414,7 @@ static int gsmld_config(struct tty_struct *tty, struct gsm_mux *gsm,
gsm->initiator = c->initiator; gsm->initiator = c->initiator;
gsm->mru = c->mru; gsm->mru = c->mru;
gsm->mtu = c->mtu;
gsm->encoding = c->encapsulation; gsm->encoding = c->encapsulation;
gsm->adaption = c->adaption; gsm->adaption = c->adaption;
gsm->n2 = c->n2; gsm->n2 = c->n2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment