sensorhandler: changed mutabiltity error code in get sensor

Changed mutability handling error code in get sensor
from IPMI_CC_SENSOR_INVALID to IPMI_CC_ILLEGAL_COMMAND

Change-Id: I599de08e3d3bc6a9820ac3978f0a4d160f19f55e
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index 1a66a1e..618aa54 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -552,7 +552,7 @@
     if (ipmi::sensor::Mutability::Read !=
           (iter->second.mutability & ipmi::sensor::Mutability::Read))
     {
-        return IPMI_CC_SENSOR_INVALID;
+        return IPMI_CC_ILLEGAL_COMMAND;
     }
 
     try