]> git.baikalelectronics.ru Git - kernel.git/commit
tty/n_gsm.c: get gsm->num after gsm_activate_mux
authorxinhui.pan <xinhuix.pan@intel.com>
Wed, 23 Jul 2014 06:31:09 +0000 (14:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 01:56:17 +0000 (18:56 -0700)
commit192c1b5048320743517ae4bbfadb2f215797b6eb
treee60431dfd9e68d893e1a64d0decb5dbcecb0ab1f
parentccdd17f651b957c9e3455438ae6094dc0b041434
tty/n_gsm.c: get gsm->num after gsm_activate_mux

gsm->num is the index of gsm_mux[], it's invalid before calling gsm_activate_mux.

Signed-off-by: xinhui.pan <xinhuiX.pan@intel.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_gsm.c