Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 820e62ef authored by Ken Mills's avatar Ken Mills Committed by Greg Kroah-Hartman
Browse files

n_gsm: Copy n2 over when configuring via ioctl interface



The n2 field is settable but didn't get propogated

Signed-off-by: default avatarKen Mills <ken.k.mills@intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5bb06b62
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2375,6 +2375,7 @@ static int gsmld_config(struct tty_struct *tty, struct gsm_mux *gsm,
	gsm->mru = c->mru;
	gsm->encoding = c->encapsulation;
	gsm->adaption = c->adaption;
	gsm->n2 = c->n2;

	if (c->i == 1)
		gsm->ftype = UIH;