diff options
| author | bings <bings@codeaurora.org> | 2019-02-19 16:30:08 +0800 |
|---|---|---|
| committer | bings <bings@codeaurora.org> | 2019-02-19 16:30:08 +0800 |
| commit | fb564db819a67be0befb0930845236a41e06d9fd (patch) | |
| tree | 4281257d073974e49c479c5dddbb84efe49ba1d7 | |
| parent | d190cf2e9d9d4a92866b0e4975d5240bb26c38c2 (diff) | |
qcacld-2.0: Add dummy function for supplicant deprecated commands
propagation from qcacld-3.0 to qcacld-2.0
This commit fix the VTS test failures when running the following
deprecated commands in SupplicantStaIfaceHidlTest
RXFILTER-START
RXFILTER-STOP
BTCOEXSCAN-START
BTCOEXSCAN-STOP
Change-Id: I45fa09c24700e6872de7709c6875dbdbd8aa10cc
CRs-Fixed: 2401005
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_main.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index bc41d6889e09..673839bcc5ef 100644 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -8497,6 +8497,24 @@ mem_free: } else if (strncmp(command, "STOP", 4) == 0) { hddLog(LOG1, FL("STOP command")); pHddCtx->driver_being_stopped = true; + } else if (strncmp(command, "BTCOEXSCAN", 10) == 0) { + hddLog(LOG1, FL("ignore BTCOEXSCAN and return -ENOTSUPP")); + ret = -ENOTSUPP; + } else if (strncmp(command, "RXFILTER", 8) == 0) { + hddLog(LOG1, FL("ignore RXFILTER and return -ENOTSUPP")); + ret = -ENOTSUPP; + } else if (strncmp(command, "RXFILTER-START", 14) == 0) { + hddLog(LOG1, FL("ignore RXFILTER-START and return 0")); + ret = 0; + } else if (strncmp(command, "RXFILTER-STOP", 13) == 0) { + hddLog(LOG1, FL("ignore RXFILTER-STOP and return 0")); + ret = 0; + } else if (strncmp(command, "BTCOEXSCAN-START", 16) == 0) { + hddLog(LOG1, FL("ignore BTCOEXSCAN-START and return 0")); + ret = 0; + } else if (strncmp(command, "BTCOEXSCAN-STOP", 15) == 0) { + hddLog(LOG1, FL("ignore BTCOEXSCAN-STOP and return 0")); + ret = 0; } else { MTRACE(vos_trace(VOS_MODULE_ID_HDD, TRACE_CODE_HDD_UNSUPPORTED_IOCTL, |
