Pi 3 WiFi unstable

Just in case, I have added the following two lines to ‘/etc/rc.local’ so it keeps the power off settings after a reboot.

sleep 10
iwconfig wlan0 power off