diff options
author | Kristen Carlson Accardi <kristen@linux.intel.com> | 2010-04-29 16:25:50 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-29 18:49:16 -0500 |
commit | 5ef90f934b28cb696b86f7852306f67120cc4046 (patch) | |
tree | c4cdf700f735f070aa5c8be50771ee34e3aa2576 /gatchat/gatppp.c | |
parent | 95e0a15010cd425dac10c185260724eb8368d063 (diff) | |
download | ofono-5ef90f934b28cb696b86f7852306f67120cc4046.tar.bz2 |
ppp: fix return of drop_packet for NETWORK phase
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r-- | gatchat/gatppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index f200ae7d..2446d4e3 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -89,7 +89,7 @@ static inline gboolean ppp_drop_packet(GAtPPP *ppp, guint16 protocol) case PPP_PHASE_DEAD: return TRUE; case PPP_PHASE_NETWORK: - if (ppp->net == NULL) + if (ppp->net == NULL && protocol == PPP_IP_PROTO) return TRUE; break; } |