diff options
Diffstat (limited to 'fwdl.c')
-rw-r--r-- | fwdl.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -66,11 +66,13 @@ int mwl_fwdl_download_firmware(struct ieee80211_hw *hw) #else u32 fwreadysignature = HOSTCMD_SOFTAP_FWRDY_SIGNATURE; #endif + int rc = mwl_fwcmd_reset(hw); + if (rc < 0) + return rc; + fw = priv->fw_ucode; - mwl_fwcmd_reset(hw); - /* FW before jumping to boot rom, it will enable PCIe transaction retry, * wait for boot code to stop it. */ |