Edit the fie /etc/wpa_supplicant/wpa_supplicant.conf and write the content
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 config_methods=virtual_push_button virtual_display push_button keypad update_config=1 fast_reauth=1 device_name=Edison manufacturer=Intel model_name=Edison
Run
systemctl restart wpa_supplicant.service