mwifiex: fw download does not release sdio bus during failure
PATCH 1/1 mwifiex: fw download does not release sdio bus during failure
--- drivers/net/wireless/marvell/mwifiex/sdio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/wireless/marvell/mwifiex/sdio.c +1 -2
@@ -1026,13 +1026,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; }
Signature · 1 line
2.7.0.rc3.207.g0ac5344
Quoted 31 lines
From: Marty Faltesek [mailto:[email protected]]
Sent: Tuesday, March 15, 2016 4:49 AM
To: Amitkumar Karwar
Cc: [email protected]
Subject: [PATCH] mwifiex: fw download does not release sdio bus during failure--- drivers/net/wireless/marvell/mwifiex/sdio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/net/wireless/marvell/mwifiex/sdio.c +1
-2@@ -1026,13 +1026,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;
Quoted 3 lines
}
--
2.7.0.rc3.207.g0ac5344
Acked-by Amitkumar Karwar <[email protected]>
Regards,
Amitkumar
Quoted 3 lines · Marty Faltesek
--- drivers/net/wireless/marvell/mwifiex/sdio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Signed-off-by line is missing, please resend.
Signature · 1 line
Kalle Valo