nl80211: propagate netlink errors to callers
authorJo-Philipp Wich <jo@mein.io>
Mon, 26 Jun 2017 05:22:10 +0000 (07:22 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 26 Jun 2017 05:30:56 +0000 (07:30 +0200)
commitab089dda34a44bd118180a9403abb942b255ad2e
tree6719255f120dd1258f1ae056e7ec6e522eb2c941
parent7bba117a3a80e29d73b03b8a43a183ceca1f80c1
nl80211: propagate netlink errors to callers

Adjust nl80211_send() to propagate errors back to the caller and do not
free message and callbacks in send error case anymore since all callsites
immediately invoke nl80211_free() anyway.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iwinfo_nl80211.c