|
@@ -2053,26 +2053,30 @@ lim_roam_fill_bss_descr(struct mac_context *mac,
|
|
|
*
|
|
|
* Return: None
|
|
|
*/
|
|
|
-static void lim_copy_and_free_hlp_data_from_session(struct pe_session *session_ptr,
|
|
|
- struct roam_offload_synch_ind *roam_sync_ind_ptr)
|
|
|
+static void
|
|
|
+lim_copy_and_free_hlp_data_from_session(struct pe_session *session_ptr,
|
|
|
+ struct roam_offload_synch_ind
|
|
|
+ *roam_sync_ind_ptr)
|
|
|
{
|
|
|
- if (session_ptr->hlp_data && session_ptr->hlp_data_len) {
|
|
|
- cds_copy_hlp_info(&session_ptr->dst_mac,
|
|
|
- &session_ptr->src_mac,
|
|
|
- session_ptr->hlp_data_len,
|
|
|
- session_ptr->hlp_data,
|
|
|
- &roam_sync_ind_ptr->dst_mac,
|
|
|
- &roam_sync_ind_ptr->src_mac,
|
|
|
- &roam_sync_ind_ptr->hlp_data_len,
|
|
|
- roam_sync_ind_ptr->hlp_data);
|
|
|
- qdf_mem_free(session_ptr->hlp_data);
|
|
|
- session_ptr->hlp_data = NULL;
|
|
|
- session_ptr->hlp_data_len = 0;
|
|
|
+ if (session_ptr->fils_info->hlp_data &&
|
|
|
+ session_ptr->fils_info->hlp_data_len) {
|
|
|
+ cds_copy_hlp_info(&session_ptr->fils_info->dst_mac,
|
|
|
+ &session_ptr->fils_info->src_mac,
|
|
|
+ session_ptr->fils_info->hlp_data_len,
|
|
|
+ session_ptr->fils_info->hlp_data,
|
|
|
+ &roam_sync_ind_ptr->dst_mac,
|
|
|
+ &roam_sync_ind_ptr->src_mac,
|
|
|
+ &roam_sync_ind_ptr->hlp_data_len,
|
|
|
+ roam_sync_ind_ptr->hlp_data);
|
|
|
+
|
|
|
+ qdf_mem_free(session_ptr->fils_info->hlp_data);
|
|
|
+ session_ptr->fils_info->hlp_data = NULL;
|
|
|
+ session_ptr->fils_info->hlp_data_len = 0;
|
|
|
}
|
|
|
}
|
|
|
#else
|
|
|
-static inline void lim_copy_and_free_hlp_data_from_session(
|
|
|
- struct pe_session *session_ptr,
|
|
|
+static inline void
|
|
|
+lim_copy_and_free_hlp_data_from_session(struct pe_session *session_ptr,
|
|
|
struct roam_offload_synch_ind
|
|
|
*roam_sync_ind_ptr)
|
|
|
{}
|