|
@@ -2140,7 +2140,7 @@ csr_fetch_ch_lst_from_received_list(tpAniSirGlobal mac_ctx,
|
|
|
ch_lst++;
|
|
|
}
|
|
|
req_buf->ConnectedNetwork.ChannelCount = num_channels;
|
|
|
- req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC_UPDATE;
|
|
|
+ req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC;
|
|
|
}
|
|
|
#endif
|
|
|
|
|
@@ -18214,21 +18214,7 @@ csr_fetch_ch_lst_from_occupied_lst(tpAniSirGlobal mac_ctx,
|
|
|
ch_lst++;
|
|
|
}
|
|
|
req_buf->ConnectedNetwork.ChannelCount = num_channels;
|
|
|
- /*
|
|
|
- * If the profile changes as to what it was earlier, inform the FW
|
|
|
- * through FLUSH as ChannelCacheType in which case, the FW will flush
|
|
|
- * the occupied channels for the earlier profile and try to learn them
|
|
|
- * afresh
|
|
|
- */
|
|
|
- if (reason == REASON_FLUSH_CHANNEL_LIST)
|
|
|
- req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC_FLUSH;
|
|
|
- else {
|
|
|
- if (csr_neighbor_roam_is_new_connected_profile(mac_ctx,
|
|
|
- session_id))
|
|
|
- req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC_INIT;
|
|
|
- else
|
|
|
- req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC_UPDATE;
|
|
|
- }
|
|
|
+ req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -18330,7 +18316,7 @@ csr_fetch_valid_ch_lst(tpAniSirGlobal mac_ctx,
|
|
|
}
|
|
|
req_buf->ValidChannelCount = num_channels;
|
|
|
|
|
|
- req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC_UPDATE;
|
|
|
+ req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC;
|
|
|
req_buf->ConnectedNetwork.ChannelCount = num_channels;
|
|
|
return status;
|
|
|
}
|