qcacmn: fix kernel null pointer dereference
Fix kernel null pointer dereference during dp_vdev_set_monitor_mode. Change-Id: Ia17ebef71f4d7f8b038f52adcde17cc89aa14545 CRs-Fixed: 3501896
This commit is contained in:

committed by
Rahul Choudhary

parent
3c62dfa3ea
commit
09430f47e6
@@ -806,6 +806,11 @@ hal_rx_tlv_get_is_decrypted_rh(uint8_t *buf)
|
||||
return is_decrypt;
|
||||
}
|
||||
|
||||
static inline uint8_t hal_rx_get_phy_ppdu_id_size_rh(void)
|
||||
{
|
||||
return sizeof(uint32_t);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_hw_txrx_default_ops_attach_rh() - Attach the default hal ops for
|
||||
* Rh arch chipsets.
|
||||
@@ -905,4 +910,6 @@ void hal_hw_txrx_default_ops_attach_rh(struct hal_soc *hal_soc)
|
||||
hal_soc->ops->hal_set_reo_ent_desc_reo_dest_ind =
|
||||
hal_set_reo_ent_desc_reo_dest_ind_rh;
|
||||
hal_soc->ops->hal_get_idle_link_bm_id = hal_get_idle_link_bm_id_rh;
|
||||
hal_soc->ops->hal_rx_get_phy_ppdu_id_size =
|
||||
hal_rx_get_phy_ppdu_id_size_rh;
|
||||
}
|
||||
|
Reference in New Issue
Block a user