Skip to content

Commit 88c0809

Browse files
dscott90Copilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent ed93079 commit 88c0809

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chipsec/helper/linuxnative/linuxnativehelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def firmware_product(self) -> Optional[str]:
466466
return self._read_sysfs_text('/sys/class/dmi/id/product_name')
467467

468468
def firmware_version(self) -> Optional[str]:
469-
return self.get_bios_version()
469+
return self._read_sysfs_text('/sys/class/dmi/id/bios_version')
470470

471471
def firmware_type(self) -> Optional[str]:
472472
return 'UEFI' if os.path.exists('/sys/firmware/efi') else 'BIOS'

0 commit comments

Comments
 (0)