aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-30 07:32:00 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-02-05 22:33:05 +0100
commit36288db2fd857643cd9c4437322614d8f14e4b69 (patch)
treecba7049483dc4668850fd82520d439eb0b674efa
parentbc49d7902cd6101854233dec9b1f1b1b1402ef66 (diff)
downloadupstream-36288db2fd857643cd9c4437322614d8f14e4b69.tar.gz
upstream-36288db2fd857643cd9c4437322614d8f14e4b69.tar.bz2
upstream-36288db2fd857643cd9c4437322614d8f14e4b69.zip
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@milecki.pl>
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 1fa39b8261..baa023ecf6 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 ] && {