Skip to content

Commit

Permalink
n_gsm: Copy n2 over when configuring via ioctl interface
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ken Mills authored and Greg Kroah-Hartman committed Nov 11, 2010
1 parent 5bb06b6 commit 820e62e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/n_gsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 820e62e

Please sign in to comment.