wifi: Fix hostapd with the qcom sdk

thanks to rmcc