summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2016-12-23 17:57:56 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-30 02:51:35 -0800
commit181a6d577ef50d5ee196312ea5ed69a861237c20 (patch)
tree904a3a8439059ef003271b645fa0d0168fc9225f
parent0953f1566c6cc5ae0a65ed4a9da812e69e5aa11f (diff)
qcacld-2.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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 9d1b7f597d04..d27c11d3881f 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -13463,8 +13463,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
},
{
@@ -13837,8 +13836,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
},
{