Skip to content
Snippets Groups Projects
Commit 335967c6 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

nl80211: improve error handling


 - introduce a new nl80211_request() which combines nl80211_msg() with
   nl80211_send() to simplify calling code

 - always invoke nl80211_free() in nl80211_send() and remove explicit
   nl80211_free() invocations in callers

 - back out early on netlink errors in functions performing multiple
   calls, e.g. when fetching scan results

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent ab089dda
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment