From 474e58ad39fdbb0b98a35d5ad51e107d0bc001c3 Mon Sep 17 00:00:00 2001 From: Baddeveloper Date: Sun, 31 Mar 2019 17:28:38 +0200 Subject: [PATCH] Issue #71 --- arduino/Wi-PWN/Wi-PWN.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arduino/Wi-PWN/Wi-PWN.ino b/arduino/Wi-PWN/Wi-PWN.ino index cac260e..5696a76 100644 --- a/arduino/Wi-PWN/Wi-PWN.ino +++ b/arduino/Wi-PWN/Wi-PWN.ino @@ -501,9 +501,11 @@ void enableRandom() { } void startDetector() { - Serial.println("Starting Deauth Detector..."); + Serial.println("Starting Deauth Detector in 1 second..."); server.send( 200, "text/json", "true"); + delay(1000); //TODO: Fix this + wifi_set_opmode(STATION_MODE); wifi_promiscuous_enable(0); WiFi.disconnect();