hostapd: fix feature detection