mac80211: allow scan in AP mode even if not "supported" by driver.

This allows us to do background channel scans with ath10k.

Change-Id: Ic10229012c06a927d4817a1fa8183ea86ef2a1c6
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index c6db19e..1f01ded 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -2154,7 +2154,7 @@
 		 * the  frames sent while scanning on other channel will be
 		 * lost)
 		 */
-		if (sdata->u.ap.beacon &&
+		if (0 && sdata->u.ap.beacon &&
 		    (!(wiphy->features & NL80211_FEATURE_AP_SCAN) ||
 		     !(req->flags & NL80211_SCAN_FLAG_AP)))
 			return -EOPNOTSUPP;