remove constraint on table size, a size of 0 can actually mean just entry 0 is populated

This commit is contained in:
Duncan Laurie
2005-09-06 18:37:38 +00:00
parent c552839583
commit aac4cc9e05

View File

@ -285,8 +285,8 @@ ipmi_pef_print_lan_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest)
return;
}
tbl_size = (rsp->data[1] & PEF_LAN_DEST_TABLE_SIZE_MASK);
if (!dest || tbl_size == 0) /* LAN alerting not supported */
return;
//if (tbl_size == 0 || dest == 0) /* LAN alerting not supported */
// return;
lsel.id = PEF_LAN_CFGPARM_ID_DESTTYPE;
lsel.set = dest;