Revert "fix hostapd compile error"

This reverts commit 7bbf13dbedcd0524113ba8c9e63cd3bed3a48f8b.