Set/Get LAN conf 0xCC return for invalid LAN chnl

In set /get LAN configuration Channel number should be validate
before process the request and we have to handle only LAN medium
Channel.

Tested:

In Get/ Set LAN configuraion,0xCC should be return for
non LAN channel numbers.

Trying to set the IP Source to the Invalid /Valid LAN channel
ipmitool raw 0xc 0x1 <Invalid LAN channel> 0x4 2
Response : 0xCC

ipmitool raw 0xc 0x1 <valid LAN channel number> 4 2
Response : 0x00

Signed-off-by: Suryakanth Sekar <suryakanth.sekar@linux.intel.com>
Change-Id: I6d173f1ddaf22a5ee221b15dd3a4c7b2793ab0b5
1 file changed