From 181a6d577ef50d5ee196312ea5ed69a861237c20 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Fri, 23 Dec 2016 17:57:56 +0530 Subject: 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 --- CORE/HDD/src/wlan_hdd_cfg80211.c | 6 ++---- 1 file 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 }, { -- cgit v1.2.3