External PCIe based storage device is not getting relinked with SCSI passthrough command

We have a management application which manages security enable and disable for an external PCIe based storage device using Kernel Extension(SCSI Architecture Model Family for External USB Mass Storage devices which deals with IOSCSIBlockCommandsDevice, IOSCSIPeripheralDeviceType00 and IOBlockStorageService)

Now the issue we are facing is when we try to unlock the device using security code (already being set) , we will relink the device using VU command (RelinkBridge). Even-though both the commands are successful , the device is not getting relinked due to which we are not able to use the device for storage.

If someone have faced similar issue or any pointer on how to resolve this issue , it would be helpful.

Thanks in advance.

External PCIe based storage device is not getting relinked with SCSI passthrough command
 
 
Q