networking – Unable to connect to any wifi network detected in Xubuntu

I have a HP 620 laptop with Xubuntu 20.04.2 LTS installed. I can see all the Wi-Fi networks available, but unable to connect to any of them. It tries to connect, but I get this error message. Disconnected - you are now offline

The passwords are all correct.

This is my network controller.

Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
Subsystem: Hewlett-Packard Company RT3090 Wireless 802.11n 1T/1R PCIe [103c:1453]
Kernel driver in use: rt2800pci
Kernel modules: rt2800pci

How can I fix this? Any help is appreciated.