summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.4/726-phy_rtl8366.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-25 08:32:00 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-02-05 22:29:56 +0100
commita0bc62fe08beae87de8051b7e642715240b9d16c (patch)
treec36eb4fb7dde2c0949f938b3b435208d38744851 /target/linux/generic/patches-4.4/726-phy_rtl8366.patch
parent3f9a194e04a7bd857bcdd06e44616abef5dab209 (diff)
downloadmtk-20170518-a0bc62fe08beae87de8051b7e642715240b9d16c.zip
mtk-20170518-a0bc62fe08beae87de8051b7e642715240b9d16c.tar.gz
mtk-20170518-a0bc62fe08beae87de8051b7e642715240b9d16c.tar.bz2
hostapd: backport support for sending debug messages to the syslog
It wasn't possible to read hostapd wpa_printf messages unless running hostapd manually. It was because hostapd was printing them using vprintf and not directly to the syslog. We were trying to workaround this problem by redirecting STDIN_FILENO and STDOUT_FILENO but it was working only for the initialization phase. As soon as hostapd did os_daemonize our solution stopped working. Please note despite the subject this change doesn't affect debug level messages only but just everything printed by hostapd with wpa_printf including MSG_ERROR-s. This makes it even more important as reading error messages can be quite useful for debugging. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/patches-4.4/726-phy_rtl8366.patch')
0 files changed, 0 insertions, 0 deletions