Revert "nl80211: Remove duplicated check in nl80211_setup_ap()"