WiFi not working after upgrade to 24.04

After upgrading KDE Neon to 24.04, my WiFi is not working (but ethernet is). I looked it up and it says the problem might be something to do with linux-modules-extra. The problem is, uname -a says I’m on kernel 5.14.0:

Linux riley-dell-kde 5.14.0-1054-oem #61-Ubuntu SMP Fri Oct 14 13:05:50 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

But there is no linux-modules-extra-5.14.0* package for me to install. But I do have linux-modules-extra-6.8.0-47-generic installed.

I’ve figured out it works if I select the “Neon GNU/Linux, with Linux 6.8.0-47-generic” entry under Advanced options in GRUB