Typo (variable channel was not used)

This commit is contained in:
pulkin
2016-09-25 11:59:25 +02:00
committed by GitHub
parent fefba984bc
commit 8be802a5f2

View File

@@ -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);