mirror of
https://github.com/pulkin/esp8266-injection-example.git
synced 2026-02-19 18:21:20 +01:00
Typo (variable channel was not used)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user