From 240634dd7ff54ef8f5cf74f0034aea99dec05176 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Fri, 23 Dec 2016 19:03:40 +0530 Subject: 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 --- core/hdd/src/wlan_hdd_cfg80211.c | 5 ++--- 1 file 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 }, { -- cgit v1.2.3