Hostapd bug fix