qcacmn: Avoid enabling full monitor mode if already enabled
Avoid enabling full monitor mode if already enabled Change-Id: I728105006af497d18174bc7eba33a2508990caa2
This commit is contained in:

committed by
Madan Koyyalamudi

parent
9ed639bc59
commit
a255cb4196
@@ -7762,7 +7762,6 @@ static QDF_STATUS dp_vdev_set_monitor_mode(struct cdp_soc_t *dp_soc,
|
||||
* dp_set_pdev_param
|
||||
*/
|
||||
|
||||
dp_soc_config_full_mon_mode(pdev, DP_FULL_MON_ENABLE);
|
||||
if (special_monitor) {
|
||||
status = QDF_STATUS_SUCCESS;
|
||||
goto fail;
|
||||
@@ -7778,6 +7777,7 @@ static QDF_STATUS dp_vdev_set_monitor_mode(struct cdp_soc_t *dp_soc,
|
||||
|
||||
pdev->monitor_configured = true;
|
||||
|
||||
dp_soc_config_full_mon_mode(pdev, DP_FULL_MON_ENABLE);
|
||||
dp_mon_filter_setup_mon_mode(pdev);
|
||||
status = dp_mon_filter_update(pdev);
|
||||
if (status != QDF_STATUS_SUCCESS) {
|
||||
|
Reference in New Issue
Block a user