Fix power restore policy input parameter check

This changes the power restore policy command to return invalid
parameter for any unsupported policy option (greater than 0x03).

Tested:
ipmitool raw 0 6 0
 07
ipmitool chassis status
Power Restore Policy : always-off
ipmitool raw 0 6 1
 07
ipmitool chassis status
Power Restore Policy : previous
ipmitool raw 0 6 2
 07
ipmitool chassis status
Power Restore Policy : always-on
ipmitool raw 0 6 3
 07
ipmitool chassis status
Power Restore Policy : always-on
ipmitool raw 0 6 4
Unable to send RAW command (channel=0x0 netfn=0x0 lun=0x0 cmd=0x6 rsp=0xcc): Invalid data field in request

Change-Id: Ie78e00753f6dfd8b7bccce38c239a8103b6cc3fd
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
2 files changed