From 12338faabd67b949949b5de9bfe5076bfb35b614 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 29 Jun 2011 03:32:27 -0500 Subject: gatppp: Re-format & re-word comments --- gatchat/gatppp.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gatchat') diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 919fd2f0..a108b2c3 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -298,9 +298,7 @@ static void ppp_send_acfc_pfc_frame(GAtPPP *ppp, guint8 *packet, else if (ppp->xmit_acfc) offset = 2; else if (ppp->xmit_pfc) { - /* - * We remove only the 1st byte that is 0x00 of protocol field. - */ + /* Shuffle AC bytes in place of the first protocol byte */ packet[2] = packet[1]; packet[1] = packet[0]; offset = 1; @@ -334,9 +332,7 @@ void ppp_transmit(GAtPPP *ppp, guint8 *packet, guint infolen) ppp_send_acfc_frame(ppp, packet, infolen); break; case PPP_IP_PROTO: - /* - * We can't use both compression options if they are negotiated - */ + /* We can use both ACFC & PFC if they are negotiated */ ppp_send_acfc_pfc_frame(ppp, packet, infolen); break; } -- cgit v1.2.3