Fixing Android wlan_rx_wake Locks at Home with a Guest WiFi Network

Looking into why my phone (HTC One Android 4.4) won’t go into deep sleep because of wlan_rx_wake locks keeping it awake led to many things to try with no good solution. After installing WireShark on my PC I determined that my network connected printer was flooding the network with SSDP UPnP broadcast messages that would cause my phone to come out of sleep, acknowledge and then try to go back to sleep. The problem is that happened every five seconds or so.