浏览代码

update: 还是IEEE80211_ENCRYT_CCMP_WPA2比较好

Wendal Chen 2 年之前
父节点
当前提交
f86923de8e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/network/luat_wlan_air101.c

+ 1 - 1
app/network/luat_wlan_air101.c

@@ -314,7 +314,7 @@ int luat_wlan_ap_start(luat_wlan_apinfo_t *apinfo2) {
         apinfo.keyinfo.key_len = strlen(apinfo2->password);
         apinfo.keyinfo.index = 1;
         memcpy(apinfo.keyinfo.key, apinfo2->password, strlen(apinfo2->password)+1);
-        apinfo.encrypt = IEEE80211_ENCRYT_TKIP_WPA2;
+        apinfo.encrypt = IEEE80211_ENCRYT_CCMP_WPA2;
     }
     else {
         apinfo.encrypt = IEEE80211_ENCRYT_NONE;