From 8be802a5f28c94be9eb2cecf45786af32df29ec6 Mon Sep 17 00:00:00 2001 From: pulkin Date: Sun, 25 Sep 2016 11:59:25 +0200 Subject: [PATCH] Typo (variable channel was not used) --- user/user_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/user_main.c b/user/user_main.c index 3900220..e8237f3 100644 --- a/user/user_main.c +++ b/user/user_main.c @@ -143,7 +143,7 @@ void ICACHE_FLASH_ATTR sniffer_system_init_done(void) { // Set up promiscuous callback - wifi_set_channel(1); + wifi_set_channel(channel); wifi_promiscuous_enable(0); wifi_set_promiscuous_rx_cb(promisc_cb); wifi_promiscuous_enable(1);