Re: [PATCH] tty/n_gsm.c: get gsm->num after gsm_activate_mux

2014-07-23 Thread One Thousand Gnomes
On Wed, 23 Jul 2014 14:31:09 +0800 "xinhui.pan" wrote: > gsm->num is the index of gsm_mux[], it's invalid before calling > gsm_activate_mux. > > Signed-off-by: xinhui.pan Thanks Acked-by: Alan Cox -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

[PATCH] tty/n_gsm.c: get gsm->num after gsm_activate_mux

2014-07-22 Thread xinhui.pan
gsm->num is the index of gsm_mux[], it's invalid before calling gsm_activate_mux. Signed-off-by: xinhui.pan --- drivers/tty/n_gsm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index 2ebe47b..81e7ccb 100644 --- a/drivers/tt