pub unsafe extern "C" fn wifi_int_restore(
    _wifi_int_mux: *mut crate::binary::c_types::c_void,
    tmp: u32,
) {
    trace!("wifi_int_restore");
    let token = unsafe { core::mem::transmute::<u32, esp_hal::sync::RestoreState>(tmp) };
    unsafe { WIFI_LOCK.release(token) }
}
**************************************************************************
Name: esp_wifi_int_restore

Description:
Exit from critical section by enabling interrupts and releasing the spin
lock if in SMP mode.

Input Parameters:
wifi_int_mux - Spin lock data pointer
tmp          - CPU PS value.

Returned Value:
None

*************************************************************************
esp-wifi/src/wifi/os_adapter.rs