diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-01 12:15:48 +0100 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-01 12:15:48 +0100 | 
| commit | 55031e72e6c02b4ae63e9052bad1a4b40002ac18 (patch) | |
| tree | cedb261f63df285e392051805d7e06641c74a4d5 /lib/ipmi_fru.c | |
| parent | b32d92e890caac903491116e9d817aa780c0323b (diff) | |
Imported Upstream version 1.8.15upstream/1.8.15
Diffstat (limited to 'lib/ipmi_fru.c')
| -rw-r--r-- | lib/ipmi_fru.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/ipmi_fru.c b/lib/ipmi_fru.c index 1b2e0cd..17afe5f 100644 --- a/lib/ipmi_fru.c +++ b/lib/ipmi_fru.c @@ -3111,7 +3111,8 @@ ipmi_fru_print_all(struct ipmi_intf * intf)  			mc = (struct sdr_record_mc_locator *)  				ipmi_sdr_get_record(intf, header, itr);  			/* Does this MC device support FRU inventory device? */ -			if (mc && (mc->dev_support & 0x08)) {	 /* FRU inventory device? */ +			if (mc && (mc->dev_support & 0x08) && /* FRU inventory device? */ +				intf->target_addr != mc->dev_slave_addr) {  				/* Yes. Prepare to issue FRU commands to FRU device #0 LUN 0  */  				/* using the slave address specified in the MC record.	      */ | 
