NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 |
                                        NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P |
                                        NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U;
+       hw->wiphy->features |= NL80211_FEATURE_AP_SCAN;
        hw->wiphy->flags |= WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD;
        hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD;
        hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
 
        struct wfx_vif *wvif = (struct wfx_vif *)vif->drv_priv;
 
        WARN_ON(hw_req->req.n_channels > HIF_API_MAX_NB_CHANNELS);
-
-       if (vif->type == NL80211_IFTYPE_AP)
-               return -EOPNOTSUPP;
-
        wvif->scan_req = hw_req;
        schedule_work(&wvif->scan_work);
        return 0;