Skip to content

Commit

Permalink
ts0710_mux: Power-cycle the radio when userspace disconnects
Browse files Browse the repository at this point in the history
Change-Id: I2b0135da3ccdb7c9e0ae1c40d53147c8113f2832
  • Loading branch information
rmcc committed Sep 22, 2013
1 parent 267b77b commit 2409b47
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/misc/ts0710mux/ts0710_mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -2902,6 +2902,13 @@ static void ts_ldisc_close(struct tty_struct *tty)
#if defined(LGE_VT_CALL_SESSION) || defined(VT_MUX12_DEBUG) /* baeyoung.park 2011-02-17 */
mux_12_open = 0;
#endif

// Cycle the radio
baseband_xmm_power_switch(false);
msleep(1000);
baseband_xmm_power_switch(true);


//
#endif //
//
Expand Down

0 comments on commit 2409b47

Please sign in to comment.