software/drivers/sd8887/src/wlan/mlan/mlan_11n_rxreorder.c
/**
 *  @brief This function cleans up reorder tbl
 *
 *  @param priv     A pointer to mlan_private
 *
 *  @return         N/A
 */
@brief This function cleans up reorder tbl
@param priv     A pointer to mlan_private

@return         N/A
@brief This function cleans up reorder tbl @param priv A pointer to mlan_private @return N / A
void
wlan_11n_cleanup_reorder_tbl(mlan_private *priv)
{
	RxReorderTbl *del_tbl_ptr;
	ENTER();
	while ((del_tbl_ptr = (RxReorderTbl *)
		util_peek_list(priv->adapter->pmoal_handle,
			       &priv->rx_reorder_tbl_ptr,
			       priv->adapter->callbacks.moal_spin_lock,
			       priv->adapter->callbacks.moal_spin_unlock))) {
		wlan_11n_delete_rxreorder_tbl_entry(priv, del_tbl_ptr);
	}
	util_init_list((pmlan_linked_list)&priv->rx_reorder_tbl_ptr);
	memset(priv->adapter, priv->rx_seq, 0xff, sizeof(priv->rx_seq));
	LEAVE();
}
void wlan_11n_cleanup_reorder_tbl ( mlan_private * priv ) { RxReorderTbl * del_tbl_ptr ; ENTER ( ) ; while ( ( del_tbl_ptr = ( RxReorderTbl * ) util_peek_list ( priv -> adapter -> pmoal_handle , & priv -> rx_reorder_tbl_ptr , priv -> adapter -> callbacks . moal_spin_lock , priv -> adapter -> callbacks . moal_spin_unlock ) ) ) { wlan_11n_delete_rxreorder_tbl_entry ( priv , del_tbl_ptr ) ; } util_init_list ( ( pmlan_linked_list ) & priv -> rx_reorder_tbl_ptr ) ; memset ( priv -> adapter , priv -> rx_seq , 0xff , sizeof ( priv -> rx_seq ) ) ; LEAVE ( ) ; }
@brief This function cleans up reorder tbl
  @param priv     A pointer to mlan_private
@brief This function cleans up reorder tbl @param priv A pointer to mlan_private