summaryrefslogtreecommitdiff
path: root/gatchat
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-06-29 03:32:27 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-06-29 03:32:27 -0500
commit12338faabd67b949949b5de9bfe5076bfb35b614 (patch)
tree61597257034c3160319864677f2caa717eb28b67 /gatchat
parent3b2e579cf4bf0b69fa591ae4e08bfcf2e80d4421 (diff)
gatppp: Re-format & re-word comments
Diffstat (limited to 'gatchat')
-rw-r--r--gatchat/gatppp.c8
1 files changed, 2 insertions, 6 deletions
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;
}