nacheen said:
If I disconnect from the LAN, the WiFi will connect.
Exactly how it should work on ALL HP laptops. Has been like this for as long as I remember. If you connect the LAN cable back in, your computer will disconnect instantly from WiFi and put the interface to "sleep".