You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/12/22 07:24:08 UTC

[incubator-nuttx-apps] branch master updated: netinit: Make the default SSID and passphrase empty

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new f6f99c4  netinit: Make the default SSID and passphrase empty
f6f99c4 is described below

commit f6f99c43aa537dd7d52ef8fb212bcc30b562d7b5
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Tue Dec 22 12:54:03 2020 +0900

    netinit: Make the default SSID and passphrase empty
    
    * It doesn't make much sense to have the default values for
      these highly environment-dependent settings.
    
    * netutils/netinit/netinit_associate.c calls wpa_driver_wext_associate
      if the SSID is not empty. Depending on the environment, it can take
      long to fail. It slows down the boot of some configurations
      considerably. eg. esp32-devkitc:wapi
---
 netutils/netinit/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/netutils/netinit/Kconfig b/netutils/netinit/Kconfig
index 4f0e31a..95d48ad 100644
--- a/netutils/netinit/Kconfig
+++ b/netutils/netinit/Kconfig
@@ -542,11 +542,11 @@ config NETINIT_WAPI_ALG
 
 config NETINIT_WAPI_SSID
 	string "SSID"
-	default "myApSSID"
+	default ""
 
 config NETINIT_WAPI_PASSPHRASE
 	string "Passprhase"
-	default "mySSIDpassphrase"
+	default ""
 
 endmenu # WAPI Configuration
 endif # NETUTILS_NETINIT