]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg TcgStorageOpalLib: Check the capability before use.
authorDong, Eric <eric.dong@intel.com>
Thu, 5 May 2016 00:51:28 +0000 (08:51 +0800)
committerFeng Tian <feng.tian@intel.com>
Mon, 9 May 2016 08:18:00 +0000 (16:18 +0800)
commit6e7423c3c2ff56c9256b92a845b3e0c959ab0d74
tree8eafb10a6c9ea3a6487394ad2281f8b96057cd35
parent6e2814c1a1a14787cdf1922c7f7710815dd4f3f9
SecurityPkg TcgStorageOpalLib: Check the capability before use.

For Pyrite SSC device, it may not supports Active Key,  So
add check logic before enable it.

Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c