diff options
author | Kristen Carlson Accardi <kristen@linux.intel.com> | 2010-03-26 18:34:27 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-03-26 19:19:46 -0700 |
commit | 3772a6401cf76b858fa847c0b0ece1de31426366 (patch) | |
tree | 9529488d11e65b84b12da67742d27da0fe3dca6d | |
parent | 909ab154a48e81eb4da2c55e354f45755d51ef49 (diff) | |
download | ofono-3772a6401cf76b858fa847c0b0ece1de31426366.tar.bz2 |
ppp: comment fix
Put some additional clarification in comment for receiving Code-Reject
and Protocol-Reject packets.
-rw-r--r-- | gatchat/ppp_cp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c index 39e872bd..f83cfbad 100644 --- a/gatchat/ppp_cp.c +++ b/gatchat/ppp_cp.c @@ -1401,6 +1401,10 @@ static guint8 pppcp_process_code_reject(struct pppcp_data *data, * determine if the code reject is catastrophic or not. * return RXJ_PLUS if this reject is acceptable, RXJ_MINUS if * it is catastrophic. + * + * for now we always return RXJ_MINUS. Any code + * reject will be catastrophic, since we only support the + * bare minimum number of codes necessary to function. */ return RXJ_MINUS; } @@ -1412,6 +1416,10 @@ static guint8 pppcp_process_protocol_reject(struct pppcp_data *data, * determine if the protocol reject is catastrophic or not. * return RXJ_PLUS if this reject is acceptable, RXJ_MINUS if * it is catastrophic. + * + * for now we always return RXJ_MINUS. Any protocol + * reject will be catastrophic, since we only support the + * bare minimum number of protocols necessary to function. */ return RXJ_MINUS; } |