]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: move HWSIM_ATTR_RADIO_NAME parsing last
authorJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2018 10:32:39 +0000 (11:32 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Nov 2018 10:32:39 +0000 (11:32 +0100)
commit53eb5b46928c9e85c62a441cc8e9975323d721e3
tree7ecaad64876b44456224fd6c2bf8942010d41341
parentf902af816a5868df399ec978c77f9ace6fdf98da
mac80211_hwsim: move HWSIM_ATTR_RADIO_NAME parsing last

Avoid the need to kfree() the name in many places by moving
the name parsing last.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c