aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Lukonin <klukonin@gmail.com>2020-03-24 23:59:56 +0500
committerHauke Mehrtens <hauke@hauke-m.de>2020-04-13 22:40:06 +0200
commitdce97df740ab563d2f91b1e1d1f3ffbbc16026c7 (patch)
tree797553bf0ce38af1c1c29c87b2593270810cd7c5
parent93a8cdf5d891db18b66d922607e2dad286f7ce5f (diff)
downloadupstream-dce97df740ab563d2f91b1e1d1f3ffbbc16026c7.tar.gz
upstream-dce97df740ab563d2f91b1e1d1f3ffbbc16026c7.tar.bz2
upstream-dce97df740ab563d2f91b1e1d1f3ffbbc16026c7.zip
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 <klukonin@gmail.com>
-rw-r--r--package/network/services/hostapd/files/wpa_supplicant-basic.config2
-rw-r--r--package/network/services/hostapd/files/wpa_supplicant-mini.config2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/hostapd/files/wpa_supplicant-basic.config b/package/network/services/hostapd/files/wpa_supplicant-basic.config
index a9da65deed..db3f7c7a11 100644
--- a/package/network/services/hostapd/files/wpa_supplicant-basic.config
+++ b/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
# persistent over restarts. This option can be used to reduce code size by
# 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.
#CONFIG_NO_CONFIG_BLOBS=y
diff --git a/package/network/services/hostapd/files/wpa_supplicant-mini.config b/package/network/services/hostapd/files/wpa_supplicant-mini.config
index 850d22febc..c1e0141edd 100644
--- a/package/network/services/hostapd/files/wpa_supplicant-mini.config
+++ b/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
# persistent over restarts. This option can be used to reduce code size by
# 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.
#CONFIG_NO_CONFIG_BLOBS=y