If you’re WiFi sometimes works great, but sometime just doesn’t want to connect especially after resuming from suspend. If sometimes it slows down to absurdly slow speed and pinging the router across the room takes 5 seconds. And if you have a Lenovo Yoga Pro 2 with this wifi card:
$ lspci | grep -i wireless 01:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
Cry no more, here’s the solution:
$ sudo killall wpa_supplicant
Aaaaah… finally free.