Search Linux Wireless

RE: [PATCH] mwifiex: fw download does not release sdio bus during failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Marty Faltesek [mailto:mfaltesek@xxxxxxxxxx]
> Sent: Tuesday, March 15, 2016 4:49 AM
> To: Amitkumar Karwar
> Cc: linux-wireless@xxxxxxxxxxxxxxx
> 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(-)
> 
> diff --git a/drivers/net/wireless/marvell/mwifiex/sdio.c
> b/drivers/net/wireless/marvell/mwifiex/sdio.c
> index 4c8cae6..d6ef34f 100644
> --- a/drivers/net/wireless/marvell/mwifiex/sdio.c
> +++ b/drivers/net/wireless/marvell/mwifiex/sdio.c
> @@ -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;
>  }
> --
> 2.7.0.rc3.207.g0ac5344

Acked-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx>

Regards,
Amitkumar
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux