Use /etc/hostapd/hostapd.conf in Apache configuration environment configuration
Potential fix for qrcore 500 errors