Minor fix in pldmClose() API

The libpldm has introduced new transport APIs for the
open(), send(), close() etc. The present APIs are being deprecated
in libpldm - https://github.com/openbmc/libpldm/blob/main/src/requester/pldm.c#L30
This commit makes use of the close API as openpower-occ-control
causes confusion with the fd resources in HRESET path.
This change is needed until openpower-occ-control makes use of the
new transport APIs in its code.

Tested: Error injection which initiates HRESET was successful.

Change-Id: Ic54b84001407935bee51c51e633e548366c6accc
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
1 file changed