Parcourir la source

update: 还是IEEE80211_ENCRYT_CCMP_WPA2比较好

Wendal Chen il y a 2 ans
Parent
commit
f86923de8e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;