Why is my HP Deskjet 2540 not connecting to WIFI?
As you mentioned that the wireless light is blinking repeatedly it could be for the following reasons: A Wi-Fi Protected Setup (WPS) of the printer to the wireless network failed. The printer can not find a compatible WPS wireless router to connect to. There is more than one router or access point on the network.
How do I reset the Wi-Fi on my HP printer?
Press and hold the Wi-Fi button on the back of the printer for five seconds or until the control panel display shows a prompt. On the prompt, touch OK to restore the network default settings.