Commit b977d305 authored by Marty Faltesek's avatar Marty Faltesek Committed by Kalle Valo

mwifiex: fw download does not release sdio bus during failure

Signed-off-by: default avatarMarty Faltesek <mfaltesek@google.com>
Reviewed-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent bb28c28e
......@@ -1103,13 +1103,12 @@ static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter,
offset += txlen;
} while (true);
sdio_release_host(card->func);
mwifiex_dbg(adapter, MSG,
"info: FW download over, size %d bytes\n", offset);
ret = 0;
done:
sdio_release_host(card->func);
kfree(fwbuf);
return ret;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment