From 3e4e699e78128ec7fd3d8d7cbe6373507d84a892 Mon Sep 17 00:00:00 2001 From: Spacehuhn Date: Tue, 12 Jan 2021 12:12:08 +0100 Subject: [PATCH] Fix channel hopping issue --- esp8266_deauther/functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp8266_deauther/functions.h b/esp8266_deauther/functions.h index a4959dd..bdbcc27 100644 --- a/esp8266_deauther/functions.h +++ b/esp8266_deauther/functions.h @@ -312,7 +312,7 @@ void prntln(const uint32_t i) { /* ===== WiFi ===== */ void setWifiChannel(uint8_t ch) { - if ((ch != wifi_channel) && (ch > 0) && (ch < 15)) { + if (/*(ch != wifi_channel) && (ch > 0) &&*/ (ch < 15)) { wifi_channel = ch; wifi_set_channel(wifi_channel); }