Validate data input *as is* instead of ignoring case

User input that is supposed to be in certain allowed values were
getting validated ignoring the case and this resulted in incorrect
behavior in the daemons that consume those values. Since the input
value is really the data, its acceptable to be strict about the case
and hence this patch validates the user input against the allowed
range being sensitive to the case.

Fixes openbmc/openbmc#961

Change-Id: I901600918691324b60512c27ab43925c531db09b
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
1 file changed