@@ -379,7 +379,11 @@ CONFIG_INTERNAL_LIBTOMMATH_FAST=y
CONFIG_IEEE80211R=y
# Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
-#CONFIG_DEBUG_FILE=y
+# By invoking "-f <directory path>" we can enable write-debug-to-file without
+# running wpa_supplicant on foreground. It makes debugging easier than running
+# wpa_supplicant in foreground and add "&" at the end of the code which invokes
+# wpa_supplicant and distorting the wpa_supplicant exit status.
+CONFIG_DEBUG_FILE=y
# Enable privilege separation (see README 'Privilege separation' for details)
#CONFIG_PRIVSEP=y
-Change: Enable CONFIG_DEBUG_FILE=y -Description: Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt). By invoking "-f <directory path>" in wpa_supplicant we can enable write-debug-to-file without running wpa_supplicant on foreground. It makes debugging easier than running wpa_supplicant in foreground and add "&" at the end of code which invokes wpa_supplicant and distorting the wpa_supplicant exit status $?. Signed-off-by: Bima Hutama <hutamanzi@gmail.com> --- package/network/services/hostapd/files/wpa_supplicant-full.config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)