transporthandler:Change for set and get lan config

This patch allows to use self/current channel(0x0E) as input parameter
in set and get lan configuration commands

Tested:
Before:
Command: ipmitool -I lanplus -H <BMC-IP> -U <User> -P <Pwd> raw  0x0c
         0x01 0x0E 0xC7 0x01 0x01 0x31 0x71 0x71 0x71 0x71 071 0x71
         0x71 0x71 0x71 0x71 0x71 0x71 0x71 0x71
Response: Unable to send RAW command (channel=0x0 netfn=0xc lun=0x0
          cmd=0x1 rsp=0xff): Unspecified error

Command: ipmitool -I lanplus -H <BMC-IP> -U <User> -P <Pwd> raw 0x0c
         0x02 0x0E 0x16 0x00 0x00
Response: Unable to send RAW command (channel=0x0 netfn=0xc lun=0x0
          cmd=0x2 rsp=0xff): Unspecified error

After:
Command: ipmitool -I lanplus -H <BMC-IP> -U <User> -P <Pwd> raw  0x0c
         0x01 0x0E 0xC7 0x01 0x01 0x31 0x71 0x71 0x71 0x71 071 0x71 0x71
         0x71 0x71 0x71 0x71 0x71 0x71 0x71
Response:           //success

Command:  ipmitool -I lanplus -H <BMC-IP> -U <User> -P <Pwd> raw 0x0c
          0x02 0x0E 0x16 0x00 0x00
Response: 11 02

Signed-off-by: vijayabharathix shetty <vijayabharathix.shetty@intel.com>
Change-Id: Icdffe4b95ade13a4beb9953d8f1994cbadc64993
1 file changed