From 5311499bdb8c74fb2ca7b3554cc1adf9f7877e67 Mon Sep 17 00:00:00 2001 From: Jiwan Kim Date: Thu, 15 Jun 2017 15:53:20 +0900 Subject: [PATCH] Fix hostapd error - Use mode 'n' for 2.4GHz --- src/mesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh.c b/src/mesh.c index 70c62ca..7d14e42 100644 --- a/src/mesh.c +++ b/src/mesh.c @@ -643,7 +643,7 @@ EXPORT_API int mesh_set_softap(mesh_h handle, const char* ssid, RETV_IF(NULL == key, MESH_ERROR_INVALID_PARAMETER); if (channel <= 13) - memcpy(buf, "n", strlen("n")); + memcpy(buf, "g", strlen("g")); else memcpy(buf, "a", strlen("a")); -- 2.34.1