mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Replace mission mode with monitor mode
The command should not be sent when device is in monitor mode. But it is allowed in mission mode. Change-Id: Ic21a8244425315577e7f0b2423c4fe6c5ac42702 CRs-Fixed: 2847777
This commit is contained in:
parent
f324265e16
commit
50982ac6b3
1 changed files with 2 additions and 2 deletions
|
|
@ -2302,7 +2302,7 @@ static int hdd_enable_unit_test_commands(struct hdd_adapter *adapter,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (hdd_get_conparam() == QDF_GLOBAL_FTM_MODE ||
|
||||
hdd_get_conparam() == QDF_GLOBAL_MISSION_MODE)
|
||||
hdd_get_conparam() == QDF_GLOBAL_MONITOR_MODE)
|
||||
return -EPERM;
|
||||
|
||||
if (adapter->vdev_id >= WLAN_MAX_VDEVS) {
|
||||
|
|
@ -2378,7 +2378,7 @@ static int hdd_disable_unit_test_commands(struct hdd_adapter *adapter,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (hdd_get_conparam() == QDF_GLOBAL_FTM_MODE ||
|
||||
hdd_get_conparam() == QDF_GLOBAL_MISSION_MODE)
|
||||
hdd_get_conparam() == QDF_GLOBAL_MONITOR_MODE)
|
||||
return -EPERM;
|
||||
|
||||
if (adapter->vdev_id >= WLAN_MAX_VDEVS) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue