Search Linux Wireless

Re: [v3] wifi: brcmfmac: Detect corner error case earlier with log

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

 



Neal Sidhwaney <nealsid@xxxxxxxxx> wrote:

> In brcmf_chip_recognition(), the return value from an MMIO read is
> interpreted as various fields without checking if it failed, which is
> harmless today, as the interpreted fields are checked for validity a
> few lines below.  However, in corner cases (on my MacbookPro 14,1,
> sometimes after waking from sleep or soft reboot), when this happens,
> it causes the logging to be misleading, because the message indicates
> an unsupported chip type ("brcmfmac: brcmf_chip_recognition: chip
> backplane type 15 is not supported").  This patch detects this case
> slightly earlier and logs an appropriate message, with the same return
> result as is the case today.
> 
> Signed-off-by: Neal Sidhwaney <nealsid@xxxxxxxxx>

Patch applied to wireless-next.git, thanks.

f8f912bf69a0 wifi: brcmfmac: Detect corner error case earlier with log

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230603060021.57225-1-nealsid@xxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[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