summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2016-12-23 19:03:40 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-01-10 15:12:41 -0800
commit240634dd7ff54ef8f5cf74f0034aea99dec05176 (patch)
tree5fe9b867158d47e67cd20ec61a8d8b83590d7207
parent460d5fb0302e0b70562bd267e7aeaf92c8fbc956 (diff)
qcacld-3.0: Remove WIPHY_VENDOR_CMD_NEED_RUNNING flag
WIPHY_VENDOR_CMD_NEED_RUNNING flag is not required for these vendor sub-commands. Hence, remove WIPHY_VENDOR_CMD_NEED_RUNNING flag from wlan_hdd_cfg80211_extscan_get_capabilities and wlan_hdd_cfg80211_get_bus_size. CRs-Fixed: 1105082 Change-Id: I116066307c64292ea438c82687e5dfcf3aaae65b
-rw-r--r--core/hdd/src/wlan_hdd_cfg80211.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index a19b537a9296..c3d491795966 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -8441,7 +8441,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = {
.info.vendor_id = QCA_NL80211_VENDOR_ID,
.info.subcmd = QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_CAPABILITIES,
.flags = WIPHY_VENDOR_CMD_NEED_WDEV |
- WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING,
+ WIPHY_VENDOR_CMD_NEED_NETDEV,
.doit = wlan_hdd_cfg80211_extscan_get_capabilities
},
{
@@ -8967,8 +8967,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = {
.info.vendor_id = QCA_NL80211_VENDOR_ID,
.info.subcmd = QCA_NL80211_VENDOR_SUBCMD_GET_BUS_SIZE,
.flags = WIPHY_VENDOR_CMD_NEED_WDEV |
- WIPHY_VENDOR_CMD_NEED_NETDEV |
- WIPHY_VENDOR_CMD_NEED_RUNNING,
+ WIPHY_VENDOR_CMD_NEED_NETDEV,
.doit = wlan_hdd_cfg80211_get_bus_size
},
{