求解:wifi无法连接加密热点WPA2

按照教程进行如下步骤:
1、buildroot 勾选iw、wpa_cli 、wpa_passphrase、wpa_supplicant
2、modprobe xr829
3、rm -rf /etc/wpa_supplicant.conf
4、wpa_passphrase mywifi 12345666 >> /etc/wpa_supplicant.conf
5、wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf

然后连接不上,出现以下信息:

[  195.406799] wlan0: authenticate with c2:0a:a2:85:36:19
[  195.413368] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
[  195.420073] wlan0: send auth to c2:0a:a2:85:36:19 (try 1/3)
[  195.420925] wlan0: Connection to AP c2:0a:a2:85:36:19 lost
[  195.432602] [STA_WRN] [HT40][xradio_join_work][bss_ht_info]:
[  195.432602] [primary_chan  :0x00000001]
[  195.432602] [ht_param      :0x00000000]
[  195.432602] [operation_mode:0x00000001]
[  195.432602] [stbc_param    :0x00000000]
[  195.432602] [basic_set[0]  :0x00000000]
[  195.460461] [STA_WRN] [HT40][xradio_join_work][PhyModeCfg:0x0007]
[  195.460461] [ModemFlags    :0x00000007]
[  195.460461] [ChWidthCfg    :0x00000000]
[  195.460461] [PriChCfg      :0x00000000]
[  195.460461] [BandCfg       :0x00000000]
[  195.460461] [STBC_Enable   :0x00000000]
[  195.460461] [PreambleCfg   :0x00000000]
[  195.460461] [SGI_Enable    :0x00000000]
[  195.460461] GF_Enable      :0x00000000]
[  195.534763] wlan0: authenticated
[  195.548278] wlan0: associate with c2:0a:a2:85:36:19 (try 1/3)
[  195.569771] wlan0: RX AssocResp from c2:0a:a2:85:36:19 (capab=0x1431 status=0 aid=1)
[  195.581962] [AP_WRN] [STA] ASSOC HTCAP 11N 58
[  195.586848] [AP_WRN] [HT40][xradio_bss_info_changed][ht_prot:0x00000000][HtProtMode:0x0000][Green:0x0000]
[  195.587160] [AP_WRN] [HT40][xradio_bss_info_changed][PhyModeCfg:0x5007]
[  195.587160] [ModemFlags    :0x00000007]
[  195.587160] [ChWidthCfg    :0x00000000]
[  195.587160] [PriChCfg      :0x00000000]
[  195.587160] [BandCfg       :0x00000000]
[  195.587160] [STBC_Enable   :0x00000000]
[  195.587160] [PreambleCfg   :0x00000001]
[  195.587160] [SGI_Enable    :0x00000001]
[  195.587160] [GF_Enable     :0x00000000]
[  195.643902] wlan0: associated
[  195.657066] [TXRX_WRN] [RX] IF=0, No key found.
[  195.691204] wlan0: deauthenticating from c2:0a:a2:85:36:19 by local choice (Reason: 1=UNSPECIFIED)
[  195.701546] [WSM_WRN] Issue unjoin command(TX).
[  195.707801] [WSM_WRN] STA mode, send_deauth_to_self
[  195.713356] [TXRX_WRN] Issue unjoin command(TX) by self.
[  195.724739] [STA_WRN] xradio_flush vif is null return

使用iw 命令查询

# iw wlan0 link
Not connected.

使用udhcpc

# udhcpc -i wlan0
udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover

使用 ifconfig命令

# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:777 (777.0 B)  TX bytes:777 (777.0 B)

wlan0     Link encap:Ethernet  HWaddr DC:44:6D:B7:AD:3D
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2310 (2.2 KiB)  TX bytes:2016 (1.9 KiB)

调试了好几天了都没有解决,是不是哪里少了点什么东西啊?
另外,连接无密码的wifi是正常的。

同样问题,望解决!

更新源码就好了。