From ebf1c12e387652b1d3c704ae5a3dc17b35f125ab Mon Sep 17 00:00:00 2001 From: Amarnath Hullur Subramanyam Date: Wed, 12 Mar 2014 21:28:31 -0700 Subject: [PATCH] Reducing the log level of wpa_supplicant,hostapd The log level of wpa_supplicant and hostapd was very high resulting in excessive logs. This can cause delays in Roaming scenario. Reducing the log level to -dd. Change-Id: I30325905e0da983c899ebd6ae3a55fcf0b270e74 CRs-Fixed: 630853 --- rootdir/etc/init.qcom.rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 5b40d4d2..59ca9576 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -481,7 +481,7 @@ service p2p_supplicant /system/bin/wpa_supplicant \ -I/system/etc/wifi/p2p_supplicant_overlay.conf -N \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ -I/system/etc/wifi/wpa_supplicant_overlay.conf \ - -O/data/misc/wifi/sockets -puse_p2p_group_interface=1 -dddd \ + -O/data/misc/wifi/sockets -puse_p2p_group_interface=1 -dd \ -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 # we will start as root and wpa_supplicant will switch to user wifi # after setting up the capabilities required for WEXT @@ -495,7 +495,7 @@ service p2p_supplicant /system/bin/wpa_supplicant \ service wpa_supplicant /system/bin/wpa_supplicant \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ -I/system/etc/wifi/wpa_supplicant_overlay.conf \ - -O/data/misc/wifi/sockets -dddd \ + -O/data/misc/wifi/sockets -dd \ -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 # we will start as root and wpa_supplicant will switch to user wifi # after setting up the capabilities required for WEXT @@ -628,7 +628,7 @@ service atfwd /system/bin/ATFWD-daemon user system group system radio -service hostapd /system/bin/hostapd -dddd /data/hostapd/hostapd.conf +service hostapd /system/bin/hostapd -dd /data/hostapd/hostapd.conf class late_start user root group root