From 2110cf02ac687f6b80055e07c5313a8015614c09 Mon Sep 17 00:00:00 2001 From: Our Air Quality Date: Wed, 30 Aug 2017 13:45:08 +1000 Subject: [PATCH] wificfg: allow the AP channel to be 1. --- extras/wificfg/wificfg.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/extras/wificfg/wificfg.c b/extras/wificfg/wificfg.c index bde84a7..708af29 100644 --- a/extras/wificfg/wificfg.c +++ b/extras/wificfg/wificfg.c @@ -1920,12 +1920,7 @@ void wificfg_init(uint32_t port, const wificfg_dispatch *dispatch) int8_t wifi_ap_channel = 6; sysparam_get_int8("wifi_ap_channel", &wifi_ap_channel); - /* Hack, disallow channel 1 here as it is not working on multiple - * devices. It seems to only work in STATIONAP mode when connected, but - * and not if the station is still scanning. */ - if (wifi_ap_channel < 2) { - wifi_ap_channel = 2; - } + /* AU does not allow channels above 13, although 14 works. */ if (wifi_ap_channel > 13) { wifi_ap_channel = 13;