Browse Source

update: 还是IEEE80211_ENCRYT_CCMP_WPA2比较好

Wendal Chen 2 years ago
parent
commit
f86923de8e
1 changed files with 1 additions and 1 deletions
  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;