qcacmn: reinitialize frequency even with 0 for cypress
mu code is not sending frequency in top 16 bits of tlv. this check makes sure not to check for freq 0 and still be able to use channel to generate freq. Change-Id: If18c400e51bc41f8fec4fd50bdd180adfd79e578
This commit is contained in:
@@ -573,8 +573,7 @@ hal_rx_status_get_tlv_info_generic(void *rx_tlv_hdr, void *ppduinfo,
|
|||||||
ppdu_info->rx_status.chan_freq =
|
ppdu_info->rx_status.chan_freq =
|
||||||
(HAL_RX_GET(rx_tlv, RX_PPDU_START_1,
|
(HAL_RX_GET(rx_tlv, RX_PPDU_START_1,
|
||||||
SW_PHY_META_DATA) & 0xFFFF0000)>>16;
|
SW_PHY_META_DATA) & 0xFFFF0000)>>16;
|
||||||
if (ppdu_info->rx_status.chan_num &&
|
if (ppdu_info->rx_status.chan_num) {
|
||||||
ppdu_info->rx_status.chan_freq) {
|
|
||||||
ppdu_info->rx_status.chan_freq =
|
ppdu_info->rx_status.chan_freq =
|
||||||
hal_rx_radiotap_num_to_freq(
|
hal_rx_radiotap_num_to_freq(
|
||||||
ppdu_info->rx_status.chan_num,
|
ppdu_info->rx_status.chan_num,
|
||||||
|
Reference in New Issue
Block a user