mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
n_gsm: Copy n2 over when configuring via ioctl interface
The n2 field is settable but didn't get propogated Signed-off-by: Ken Mills <ken.k.mills@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5bb06b62bc
commit
820e62ef3d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user