From 947abd7a4d3b8348498f67ac00896937f5eab019 Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Fri, 2 Sep 2016 12:11:33 +0530 Subject: [PATCH] qcacld-3.0: Allow querying for DFS capability even if iface is not up wpa_supplicant queries for DFS capability as part of initialization and the interface is not up by then. So, allow userspace components to query for the same even if the interface is not up. Change-Id: I2b8dc04260e1cbe007fda4be7f1b8aa196ae7a79 CRs-Fixed: 945597 --- core/hdd/src/wlan_hdd_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 9b24c3ae25..837b9a0904 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -7325,7 +7325,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = { .info.vendor_id = QCA_NL80211_VENDOR_ID, .info.subcmd = QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY, .flags = WIPHY_VENDOR_CMD_NEED_WDEV | - WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, + WIPHY_VENDOR_CMD_NEED_NETDEV, .doit = is_driver_dfs_capable },