n_gsm: copy mtu over when configuring via ioctl interface

This field is settable but did not get copied.

Signed-off-by: Ken Mills <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Ken Mills 2011-01-25 14:17:45 +00:00 • committed by Greg Kroah-Hartman
commit 91f78f3669

View file

@ -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;