[source] mac80211: start hostapd with logging wpa_printf messages to syslog
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 5 15:38:18 PST 2017
rmilecki pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/36288db2fd857643cd9c4437322614d8f14e4b69
commit 36288db2fd857643cd9c4437322614d8f14e4b69
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Mon Jan 30 07:32:00 2017 +0100
mac80211: start hostapd with logging wpa_printf messages to syslog
Some debugging/error messages are printed using wpa_printf and this
change allows finally reading them out of the syslog.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 1fa39b8..baa023e 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -756,7 +756,7 @@ drv_mac80211_setup() {
for_each_interface "ap" mac80211_prepare_vif
[ -n "$hostapd_ctrl" ] && {
- /usr/sbin/hostapd -P /var/run/wifi-$phy.pid -B "$hostapd_conf_file"
+ /usr/sbin/hostapd -s -P /var/run/wifi-$phy.pid -B "$hostapd_conf_file"
ret="$?"
wireless_add_process "$(cat /var/run/wifi-$phy.pid)" "/usr/sbin/hostapd" 1
[ "$ret" != 0 ] && {
More information about the lede-commits
mailing list