Browse Source

wpa_supplicant: disable CONFIG_WRITE functionality

CONFIG_WRITE functionality is not used and could be removed.
Looks helpful for devices with small flash because wpad is also affected.

Little testing shows that about 6 KB could be saved.

Signed-off-by: Kirill Lukonin <[email protected]>
Kirill Lukonin 5 years ago
parent
commit
dce97df740

+ 1 - 1
package/network/services/hostapd/files/wpa_supplicant-basic.config

@@ -264,7 +264,7 @@ CONFIG_BACKEND=file
 # configuration can still be changed, the changes are just not going to be
 # configuration can still be changed, the changes are just not going to be
 # persistent over restarts. This option can be used to reduce code size by
 # persistent over restarts. This option can be used to reduce code size by
 # about 3.5 kB.
 # about 3.5 kB.
-#CONFIG_NO_CONFIG_WRITE=y
+CONFIG_NO_CONFIG_WRITE=y
 
 
 # Remove support for configuration blobs to reduce code size by about 1.5 kB.
 # Remove support for configuration blobs to reduce code size by about 1.5 kB.
 #CONFIG_NO_CONFIG_BLOBS=y
 #CONFIG_NO_CONFIG_BLOBS=y

+ 1 - 1
package/network/services/hostapd/files/wpa_supplicant-mini.config

@@ -264,7 +264,7 @@ CONFIG_BACKEND=file
 # configuration can still be changed, the changes are just not going to be
 # configuration can still be changed, the changes are just not going to be
 # persistent over restarts. This option can be used to reduce code size by
 # persistent over restarts. This option can be used to reduce code size by
 # about 3.5 kB.
 # about 3.5 kB.
-#CONFIG_NO_CONFIG_WRITE=y
+CONFIG_NO_CONFIG_WRITE=y
 
 
 # Remove support for configuration blobs to reduce code size by about 1.5 kB.
 # Remove support for configuration blobs to reduce code size by about 1.5 kB.
 #CONFIG_NO_CONFIG_BLOBS=y
 #CONFIG_NO_CONFIG_BLOBS=y