Search Linux Wireless

Re: [PATCH v2] wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()

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

 



On 12/2/2022 6:35 AM, Wang Yufen wrote:
Fix to return a negative error code instead of 0 when
brcmf_chip_set_active() fails. In addition, change the return
value for brcmf_pcie_exit_download_state() to keep consistent.

Fixes: d380ebc9b6fb ("brcmfmac: rename chip download functions")
Reviewed-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Wang Yufen <wangyufen@xxxxxxxxxx>
---
v2: change the error code from EINVAL to EIO, as Arend suggessted

Thanks.

  drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 2 +-
  drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 1 +
  2 files changed, 2 insertions(+), 1 deletion(-)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


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

  Powered by Linux