libnvme: adminxfer: fix the length while transfering to drive

While transfering data to the drive we were using the response
data length which will result in the length becoming zero when
BMC is transferring to the drive.

Tested: Manually
Google-Bug-Id: 369851251
Change-Id: I021f190dba06922e15184bbbd2ffe842a85a0eca
Signed-off-by: Muhammad Usama <muhammadusama@google.com>
diff --git a/recipes-connectivity/libnvme/libnvme/0001-mi_admin_xfer-set-data-fields-based-on-opcode.patch b/recipes-connectivity/libnvme/libnvme/0001-mi_admin_xfer-set-data-fields-based-on-opcode.patch
index 62358ee..470f128 100644
--- a/recipes-connectivity/libnvme/libnvme/0001-mi_admin_xfer-set-data-fields-based-on-opcode.patch
+++ b/recipes-connectivity/libnvme/libnvme/0001-mi_admin_xfer-set-data-fields-based-on-opcode.patch
@@ -86,7 +86,7 @@
 +		{
 +			admin_req->flags = 0;
 +		}
-+		admin_req->dlen = cpu_to_le32(resp.data_len & 0xffffffff);
++		admin_req->dlen = cpu_to_le32(req_data_size & 0xffffffff);
 +		admin_req->doff = 0;
 +	}
 +	else if (direction == NVME_DATA_TFR_CTRL_TO_HOST)