static int hwsim_write_simulate_radar(void *dat, u64 val)
{
	struct mac80211_hwsim_data *data = dat;

	ieee80211_radar_detected(data->hw);

	return 0;
}

The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.