Wifi not available working on booting manjaro. Multple restart needed

I tried just the first command from the wollie’s post RTL8822BE Wi-Fi not showing - #4 by Wollie.

I restarted my machine 2-3 times and it worked every time. If it didn’t worked in future then I will try the complete solution and update it here.

I tried both the solutions. but in reverse order. I did the RTL8822BE Wi-Fi not showing - #4 by Wollie
solution first which didn’t worked then I tried to upgrade my kernel to 5.11 but still my wifi does not work.

Not wishing to misdirect on this post, but I ran in to similar problem on my KDE install. After latest updates I had terrible problems with Wi-Fi connection. Turned out to be a change in the settings manager, I had to tick a check-box in “All users may use this connection”. Now connects first time every time. Prior to this I had to select ‘Disconnect’ followed by ‘Connect’ to get a connection.

I have the same issue on MacBook Air 2017 running Manjaro XFCE linux510