diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-09 13:30:56 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-13 12:03:32 -0500 |
commit | f5270cc9bdc68b4da8cc8a6539b29c506b1c7a50 (patch) | |
tree | 69212a269d3dcd5a3d6001eb7cbb55e1b5d98997 /gatchat/ppp_lcp.c | |
parent | 36d15b4366823f59276c6d45ab4ad581a19c3bc4 (diff) | |
download | ofono-f5270cc9bdc68b4da8cc8a6539b29c506b1c7a50.tar.bz2 |
ppp: Use pppcp_signal functions directly
No real need to wrap them behind lcp_ functions
Diffstat (limited to 'gatchat/ppp_lcp.c')
-rw-r--r-- | gatchat/ppp_lcp.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c index a384a0db..304a72c2 100644 --- a/gatchat/ppp_lcp.c +++ b/gatchat/ppp_lcp.c @@ -230,33 +230,6 @@ struct pppcp_proto lcp_proto = { .rcr = lcp_rcr, }; -void lcp_open(struct pppcp_data *data) -{ - if (data == NULL) - return; - - /* send an open event to the lcp layer */ - pppcp_signal_open(data); -} - -void lcp_establish(struct pppcp_data *data) -{ - if (data == NULL) - return; - - /* send an UP event to the lcp layer */ - pppcp_signal_up(data); -} - -void lcp_terminate(struct pppcp_data *data) -{ - if (data == NULL) - return; - - /* send a CLOSE event to the lcp layer */ - pppcp_signal_close(data); -} - void lcp_free(struct pppcp_data *pppcp) { struct ipcp_data *lcp = pppcp_get_data(pppcp); |