OSDN Git Service

mac80211-hwsim: Add support for HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Thu, 9 Oct 2014 12:27:51 +0000 (15:27 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 9 Oct 2014 14:13:01 +0000 (16:13 +0200)
commite9ed49bf4c2c2bd4d57667f14d595864d7596ded
treec0e437c99c70f78ab3fb06e40162fe1b847dc4f6
parent0f791eb47f8222fd594e6f8a090632344ef23924
mac80211-hwsim: Add support for HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE

Add support for new attribute HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE
which can be set by the user space component. The attribute
will cause the kernel to destroy all those radios that were
created by a process if that process dies. The old behaviour
i.e., radios are persistent is still the default.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c
drivers/net/wireless/mac80211_hwsim.h