Master Write-Read: Validate reserved field content

In "Master Write-Read Command" byte-2’s zero'th bit is reserved.
So return "InvalidFieldRequest" when reserved content is non-zero.

Tested:
IPMI Command: Master Write-Read Command
Command:  ipmitool raw 0x06 0x52 0x0e 0xa1 0xff 0x1
Response: Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0
          cmd=0x52 rsp=0xcc): Invalid data field in request
Command:  ipmitool raw 0x06 0x52 0x0e 0xa0 0xb 0x1
Response: 00 00 00 01 0d 00 f1 01 0c 19 e1

Signed-off-by: Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I1f9fb688642f1096385e4263a4648c7233e5de85
1 file changed