Fix two issues in Issue #80
Corrected the comment for the Get Channel Info command to
reflect the logic in the code. For issue two, corrected the
condition for returning the unspecifed error.
Fixes openbmc/phosphor-host-ipmid#80
diff --git a/apphandler.C b/apphandler.C
index d014f5b..b8cc0aa 100644
--- a/apphandler.C
+++ b/apphandler.C
@@ -445,7 +445,9 @@
printf("IPMI APP GET CHANNEL INFO\n");
- // I"m only supporting channel 1. 0xE is the 'default channel'
+ // The supported channels numbers are 1 and 8.
+ // Channel Number E is used as way to identify the current channel
+ // that the command is being is received from.
if (*p == 0xe || *p == 1 || *p == 8) {
*data_len = sizeof(resp);