mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
Fix a potential crash/memory leak if NVRAM fails to load.
Change-Id: I27f41dd5833835b74f38524e9691d68ac807c991 Signed-off-by: Howard M. Harte <hharte@broadcom.com> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
committed by
Dmitry Shmidt
parent
237981dbc7
commit
fe4d980150
@@ -6067,6 +6067,7 @@ _dhdsdio_download_firmware(struct dhd_bus *bus)
|
||||
/* External nvram takes precedence if specified */
|
||||
if (dhdsdio_download_nvram(bus)) {
|
||||
DHD_ERROR(("%s: dongle nvram file download failed\n", __FUNCTION__));
|
||||
goto err;
|
||||
}
|
||||
|
||||
/* Take arm out of reset */
|
||||
|
||||
Reference in New Issue
Block a user