Ouss4 commented on a change in pull request #159: wireless/wapi: add save_config/reconnect/scan_results support URL: https://github.com/apache/incubator-nuttx-apps/pull/159#discussion_r402917488
########## File path: netutils/netinit/netinit_associate.c ########## @@ -77,7 +77,8 @@ int netinit_associate(FAR const char *ifname) conf.phraselen = strlen(conf.passphrase); } - ret = wpa_driver_wext_associate(&conf); + if (conf.ssidlen > 0) + ret = wpa_driver_wext_associate(&conf); Review comment: ```suggestion if (conf.ssidlen > 0) { ret = wpa_driver_wext_associate(&conf); } ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services