This question already has an answer here:
I recently bought a new HP pavilion 15 (has windows 8) and installed (dual boot) a fresh version of ubuntu 14.04 (64bit).
After installation, the built-in wifi wasn't working so i used a usb wifi stick to connect to Internet. Few minutes later, i tried the built-in wifi and it started working fine.
However i noticed that it gets disabled after i suspend and re-relogin. The wifi switch gets greyed and can't click it anymore and i see the message "wifi is disabled by hardware switch), although there's no hardware switch in this HP.
The only solution to get the wifi back is by restart (and that's really annoying).
I spent days trying solutions that i found for similar problems in this forum and other websites but with no luck.
sudo rfkill list all displays the following:
2: hci0: Bluetooth Soft blocked: no Hard blocked: no 3: phy1: Wireless LAN Soft blocked: no Hard blocked: no 4: brcmwl-0: Wireless LAN Soft blocked: no Hard blocked: yes
The unblock command doesn't change anything.
(wifi works well on windows)
Please help me find a solution for this problem.