summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Dasari <dasaris@qti.qualcomm.com>2015-12-01 20:51:47 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-12-02 16:50:04 +0530
commit648abdb8ed56bdffaa0efd220a895f52eb90bdf0 (patch)
tree83d9153a71df64d97c28956c11eb53d8b9cac3e8
parent2489fdc1f117a97471813590ae7d0f6001584ead (diff)
qcacld-2.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
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index f341666768b4..c289bd5b9ce5 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -9746,8 +9746,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
},