From 3f3b6eaaa14558b242044aae299cd5d706b55e96 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 3 Jun 2014 15:32:24 -0400 Subject: [PATCH] Avoid requesting IBM VPD data for FRU locator records that do not advertise such data. --- xCAT-server/lib/xcat/plugins/ipmi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 91a48d4b0..a1552b930 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -2782,7 +2782,7 @@ sub readcurrfrudevice { shift @data; push @{$sessdata->{currfrudata}},@data; if ($sessdata->{currfrudone}) { - if ($sessdata->{isite}) { + if ($sessdata->{isite} and $sessdata->{currfrusdr} and ($sessdata->{currfrusdr}->fru_oem & 0x80)) { #IBM OEM command, d0,51,0 further qualifies the command name, we'll first take a stop at block 0, offset 2, one byte, to get VPD version number #command structured as: #d0,51,0 = command set identifier