소스 검색

qcacld-3.0: Invalid ADDROAMSCANCHANNELS if specific channels configured

For roam scanning, "specific channels list" is preferred over
"preferred channel list". Hence if user configured specific channels
then return invalid for ADDROAMSCANCHANNLES command.

Change-Id: I858eef5c990cedb4b12c21c1a00f34ff6b819849
CRs-Fixed: 3014609
Paul Zhang 3 년 전
부모
커밋
2e903a08b7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      components/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_roam_api.c

+ 1 - 0
components/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_roam_api.c

@@ -1095,6 +1095,7 @@ wlan_cm_roam_cfg_set_value(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
 	case ROAM_PREFERRED_CHAN:
 		if (dst_cfg->specific_chan_info.num_chan) {
 			mlme_err("Specific channel list is already configured");
+			status = QDF_STATUS_E_INVAL;
 			break;
 		}
 		status = cm_update_roam_scan_channel_list(vdev_id,