summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCNSS_WLAN Service <cnssbldsw@qualcomm.com>2017-08-16 22:01:39 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-16 22:01:39 -0700
commit90d8dfcfaf88f875061392e289a07a76a6dd9df3 (patch)
treec9ad038bb3e102e8ea33d4ec8ff7ab96f942733a
parent690fbb0d4f5ff381e628be92fc791f977a640e9c (diff)
parent7d3a7a22e0a3ac2e9dd20cef7854f30b2b2a7544 (diff)
Merge "qcacld-3.0: Return EOPNOTSUPP if fw_mem_dump is not supported" into wlan-cld3.driver.lnx.1.1
-rw-r--r--core/hdd/src/wlan_hdd_memdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_memdump.c b/core/hdd/src/wlan_hdd_memdump.c
index 90eb2f6f5383..e2214cfd05df 100644
--- a/core/hdd/src/wlan_hdd_memdump.c
+++ b/core/hdd/src/wlan_hdd_memdump.c
@@ -210,7 +210,7 @@ static int __wlan_hdd_cfg80211_get_fw_mem_dump(struct wiphy *wiphy,
if (!hdd_ctx->fw_mem_dump_enabled) {
hdd_warn("FW memory dump not supported by this FW");
- return -ENOTSUPP;
+ return -EOPNOTSUPP;
}
qdf_ctx = cds_get_context(QDF_MODULE_ID_QDF_DEVICE);
if (!qdf_ctx) {