commit: 91f78f36694b8748fda855b1f9e3614b027a744f From: Ken Mills <[email protected]> Date: Tue, 25 Jan 2011 14:17:45 +0000 Subject: [PATCH] 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]> --- drivers/tty/n_gsm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index 44b8412..aa2e5d3 100644 --- a/drivers/tty/n_gsm.c +++ b/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; _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
