M3无法链接WiFi是什么情况(已贴log)

http://wiki.banana-pi.org/Getting_Started_with_M3#WiFi_on_M3
我在这个页面里面按照提供的链接WiFi的方法无法链接,错误提示如下一般是什么情况呢?

pi@bpi-iot-ros-ai:~$ su
Password: 
root@bpi-iot-ros-ai:/home/pi# ip link set wlan0 up
root@bpi-iot-ros-ai:/home/pi# 
root@bpi-iot-ros-ai:/home/pi# iw dev wlan0 scan | grep SSID
	SSID: tgoffice
	SSID: webduino_qc.io
	SSID: PDCN
	SSID: MediDiagno
	SSID: dgts
	Extended capabilities: HT Information Exchange Supported, TFS, WNM-Sleep Mode, TIM Broadcast, BSS Transition, SSID List, 6
	SSID: AQS_SSL_5G
root@bpi-iot-ros-ai:/home/pi# vim /etc/wpa_supplicant/wpa_supplicant.conf
root@bpi-iot-ros-ai:/home/pi# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Line 1: unknown global field 'network={ ssid="PDCN" psk="1234567xxx" priority=1 }'.
Line 1: Invalid configuration line 'network={ ssid="PDCN" psk="1234567xxx" priority=1 }'.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
root@bpi-iot-ros-ai:/home/pi#