Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f510fc64 authored by Ajit Khaparde's avatar Ajit Khaparde Committed by David S. Miller
Browse files

be2net: fix a bug in flashing the redboot section

parent d5dc056c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1855,7 +1855,7 @@ static bool be_flash_redboot(struct be_adapter *adapter,
	p += crc_offset;

	status = be_cmd_get_flash_crc(adapter, flashed_crc,
			(img_start + image_size - 4));
			(image_size - 4));
	if (status) {
		dev_err(&adapter->pdev->dev,
		"could not get crc from flash, not flashing redboot\n");