summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSourav Mohapatra <mohapatr@codeaurora.org>2018-03-07 18:41:16 +0530
committernshrivas <nshrivas@codeaurora.org>2018-03-09 00:00:31 -0800
commit37b465e63258fb02885fedfd3c5f61accfa8456d (patch)
tree1b5b0824a2d2e2a4053101ba5a434dc4316ec4dc
parentde107e04c107203c0e56a53ccd6bb76ba6d9df96 (diff)
qcacld-3.0: Allow vendor command to run without interface up
In the present scenario, the vendor command wlan_hdd_cfg80211_get_logger_supp_feature has the flag WIPHY_VENDOR_CMD_NEED_RUNNING set which requires the net device to be up and running for the API to work. This is not necessary as the command doesnot need the net dev to be active. Remove the flag so that the command returns the proper results even when the net device is not running Change-Id: I2dd9d801aa474cda2a3f6292d6b94df18797be02 CRs-Fixed: 2202096
-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 c51796265ec4..0cc65337bd2d 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -12786,8 +12786,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = {
.info.vendor_id = QCA_NL80211_VENDOR_ID,
.info.subcmd = QCA_NL80211_VENDOR_SUBCMD_GET_LOGGER_FEATURE_SET,
.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_logger_supp_feature
},
{