software/drivers/sd8887/src/wlan/mlan/mlan_11h.c
/**
 *  @brief Disable the transmit interface and record the state.
 *
 *  @param priv  Private driver information structure
 *
 *  @return      N/A
 */
@brief Disable the transmit interface and record the state.
@param priv  Private driver information structure

@return      N/A
@brief Disable the transmit interface and record the state . @param priv Private driver information structure @return N / A
t_void
wlan_11h_tx_disable(mlan_private *priv)
{
	ENTER();
	if (!priv->intf_state_11h.tx_disabled) {
		if (priv->media_connected == MTRUE) {
			priv->intf_state_11h.tx_disabled = MTRUE;
			wlan_recv_event(priv, MLAN_EVENT_ID_FW_STOP_TX, MNULL);
		}
	}
	LEAVE();
}
t_void wlan_11h_tx_disable ( mlan_private * priv ) { ENTER ( ) ; if ( ! priv -> intf_state_11h . tx_disabled ) { if ( priv -> media_connected == MTRUE ) { priv -> intf_state_11h . tx_disabled = MTRUE ; wlan_recv_event ( priv , MLAN_EVENT_ID_FW_STOP_TX , MNULL ) ; } } LEAVE ( ) ; }
@brief Disable the transmit interface and record the state.
@brief Disable the transmit interface and record the state .