Nl80211 driver initialization failed, AC2100 Redmi 5G Radio down

I upgraded to 22.03.3 today, and now the 5G wifi stopped working.

These are the logs containing the error messages.

Tue Feb  7 13:58:14 2023 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) --> new PHY
Tue Feb  7 13:58:14 2023 daemon.err hostapd: Could not set interface wlan1 flags (UP): I/O error
Tue Feb  7 13:58:14 2023 daemon.err hostapd: nl80211: Could not set interface 'wlan1' UP
Tue Feb  7 13:58:14 2023 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Tue Feb  7 13:58:14 2023 daemon.err hostapd: nl80211 driver initialization failed.
Tue Feb  7 13:58:14 2023 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Tue Feb  7 13:58:14 2023 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384): Command failed: ubus call hostapd config_add {"iface":"wlan1", "config":"/var/run/hostapd-phy1.conf"} (Invalid argument)
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384): Usage: ubus [<options>] <command> [arguments...]
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384): Options:
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  -s <socket>:		Set the unix domain socket to connect to
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  -t <timeout>:		Set the timeout (in seconds) for a command to complete
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  -S:			Use simplified output (for scripts)
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  -v:			More verbose output
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  -m <type>:		(for monitor): include a specific message type
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384): 			(can be used more than once)
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  -M <r|t>		(for monitor): only capture received or transmitted traffic
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384): Commands:
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  - list [<path>]			List objects
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  - call <path> <method> [<message>]	Call an object method
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  - subscribe <path> [<path>...]	Subscribe to object(s) notifications
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  - listen [<path>...]			Listen for events
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  - send <type> [<message>]		Send an event
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  - wait_for <object> [<object>...]	Wait for multiple objects to appear on ubus
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):  - monitor				Monitor ubus traffic
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384):
Tue Feb  7 13:58:14 2023 daemon.notice netifd: radio1 (7384): Device setup failed: HOSTAPD_START_FAILED
Tue Feb  7 13:58:14 2023 daemon.notice netifd: Wireless device 'radio1' set retry=0
Tue Feb  7 13:58:14 2023 daemon.crit netifd: Wireless device 'radio1' setup failed, retry=0
Tue Feb  7 13:58:14 2023 daemon.notice netifd: Wireless device 'radio1' is now down

Had anything similar errors before? Thanks in advance.

What's your WiFi config?