Loss BCM43142 wifi card after update

loss BCM43142 wifi card after update:

i have two wifi cards, one is internal BCM43142 wifi card, the other is usb realtek wifi card.

after updated, i found that under the wifi drop-down list or with ifconfig command, it cannot find the BCM43142

with command lspci : 03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

and i 've also re-install the driver with sudo pacman -S broadcom-wl-dkms with no error but some warnnings:

❯ sudo pacman -S broadcom-wl-dkms
[sudo] password for creatxr: 
warning: broadcom-wl-dkms-6.30.223.271-38.2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (1) broadcom-wl-dkms-6.30.223.271-38.2

Total Download Size:   1.65 MiB
Total Installed Size:  7.62 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 broadcom-wl-dkms...  1692.2 KiB  2.30 MiB/s 00:01 [----------------------] 100%
(1/1) checking keys in keyring                     [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
(1/1) loading package files                        [----------------------] 100%
(1/1) checking for file conflicts                  [----------------------] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove broadcom-wl/6.30.223.271
:: Processing package changes...
(1/1) reinstalling broadcom-wl-dkms                [----------------------] 100%

Unload and load kernel modules (wl is provided by broadcom-wl-dkms):

  rmmod b43 b43legacy bcm43xx bcma brcm80211 brcmfmac brcmsmac ssb tg3 wl
  modprobe wl

:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Install DKMS modules
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.13.0-2-cachyos

Error! Bad return status for module build on kernel: 6.13.0-2-cachyos (x86_64)
Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more information.
==> WARNING: `dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.13.0-2-cachyos' exited 10
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos.img
==> Using drop-in configuration file: '10-chwd.conf'
==> Starting build: '6.13.0-2-cachyos'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [kms]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-cachyos.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos-fallback.img -S autodetect
==> Using drop-in configuration file: '10-chwd.conf'
==> Starting build: '6.13.0-2-cachyos'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-cachyos-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Checking which packages need to be rebuilt

Use the LTS kernel in the meantime. broadcom-wl must yet again be patched for 6.13. Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 6.13-rc1 · GitHub There is an available fix but Arch hasn’t adopted it yet.

I ran into the same problem with the 6.13 kernel update, losing the b43 driver. What’s the best way to prevent updates from installing the new kernel until it’s fixed for this issue?

Do a system update, the fix has landed in repos.

Thank you!