|
@@ -2178,12 +2178,10 @@ lim_roam_fill_bss_descr(struct mac_context *mac,
|
|
|
/* Copy Timestamp */
|
|
|
bss_desc_ptr->scansystimensec = qdf_get_monotonic_boottime_ns();
|
|
|
if (parsed_frm_ptr->dsParamsPresent) {
|
|
|
- bss_desc_ptr->channelId = parsed_frm_ptr->channelNumber;
|
|
|
bss_desc_ptr->chan_freq =
|
|
|
wlan_reg_chan_to_freq(mac->pdev,
|
|
|
parsed_frm_ptr->channelNumber);
|
|
|
} else if (parsed_frm_ptr->HTInfo.present) {
|
|
|
- bss_desc_ptr->channelId = parsed_frm_ptr->HTInfo.primaryChannel;
|
|
|
bss_desc_ptr->chan_freq =
|
|
|
wlan_reg_chan_to_freq(mac->pdev,
|
|
|
parsed_frm_ptr->HTInfo.
|
|
@@ -2193,8 +2191,6 @@ lim_roam_fill_bss_descr(struct mac_context *mac,
|
|
|
* If DS Params or HTIE is not present in the probe resp or
|
|
|
* beacon, then use the channel frequency provided by firmware
|
|
|
* to fill the channel in the BSS descriptor.*/
|
|
|
- bss_desc_ptr->channelId =
|
|
|
- cds_freq_to_chan(roam_synch_ind_ptr->chan_freq);
|
|
|
bss_desc_ptr->chan_freq = roam_synch_ind_ptr->chan_freq;
|
|
|
}
|
|
|
|