]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/config_ssid.h
Allow PSK/passphrase to be set only when needed
[thirdparty/hostap.git] / wpa_supplicant / config_ssid.h
index 7c826cfd983f817682648a7f4a875087c18e6124..23a37cc35621ab6609f494b2fce3d0644ac0a039 100644 (file)
@@ -180,6 +180,14 @@ struct wpa_ssid {
         */
        char *ext_psk;
 
+       /**
+        * mem_only_psk - Whether to keep PSK/passphrase only in memory
+        *
+        * 0 = allow psk/passphrase to be stored to the configuration file
+        * 1 = do not store psk/passphrase to the configuration file
+        */
+       int mem_only_psk;
+
        /**
         * pairwise_cipher - Bitfield of allowed pairwise ciphers, WPA_CIPHER_*
         */