software/drivers/sd8887/src/wlan/mlan/mlan_init.c
/**
 *  @brief This function frees the structure of priv
 *
 *  @param pmpriv   A pointer to mlan_private structure
 *
 *  @return         N/A
 */
@brief This function frees the structure of priv
@param pmpriv   A pointer to mlan_private structure

@return         N/A
@brief This function frees the structure of priv @param pmpriv A pointer to mlan_private structure @return N / A
t_void
wlan_free_priv(mlan_private *pmpriv)
{
	ENTER();
	wlan_clean_txrx(pmpriv);
	wlan_delete_bsspriotbl(pmpriv);
#ifdef STA_SUPPORT
	wlan_free_curr_bcn(pmpriv);
#endif 
	wlan_delete_station_list(pmpriv);
	LEAVE();
}
t_void wlan_free_priv ( mlan_private * pmpriv ) { ENTER ( ) ; wlan_clean_txrx ( pmpriv ) ; wlan_delete_bsspriotbl ( pmpriv ) ; #ifdef STA_SUPPORT wlan_free_curr_bcn ( pmpriv ) ; #endif wlan_delete_station_list ( pmpriv ) ; LEAVE ( ) ; }
@brief This function frees the structure of priv
  @param pmpriv   A pointer to mlan_private structure
@brief This function frees the structure of priv @param pmpriv A pointer to mlan_private structure
/* STA_SUPPORT */