]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: add nl_err_msg in hwsim_new_radio in netlink case
authorBenjamin Beichler <benjamin.beichler@uni-rostock.de>
Mon, 22 Jan 2018 17:04:36 +0000 (18:04 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jan 2018 11:46:39 +0000 (12:46 +0100)
commit4aeb09aa5402a9da20380147d1bc0f02a33c8529
treea4eb8e44957bf26ccc96164fa2f1459f03f8920d
parent4afeed6b9389e8c549a8b7563aeb0feb5b9d1f5d
mac80211_hwsim: add nl_err_msg in hwsim_new_radio in netlink case

Add a NL_ERR_MSG in case of creating a radio by a netlink message to give
clear output to the creating process instead of creating only a debug
message in kernel log. The same function is used for the creation while
module load, so keep the old message, although it should never be thrown
while load, because the module controls all mac addresses.

Signed-off-by: Benjamin Beichler <benjamin.beichler@uni-rostock.de>
[remove message, add missing braces]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c