Parcourir la source

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 il y a 3 ans
Parent
commit
2e903a08b7

+ 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,