nl80211: Simplify event processing error paths
authorJouni Malinen <j@w1.fi>
Mon, 5 Jan 2015 11:40:07 +0000 (13:40 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Jan 2015 11:40:07 +0000 (13:40 +0200)
commitdcf8fbc0587d2a83f7e61edc4c829e5b439b04c8
treefb63289108d93a887acd1a6a74861bd2e322e385
parent38751d8bd573f520a6a8622d2598e4f7c1bd0ce7
nl80211: Simplify event processing error paths

These are practically unreachable code since cfg80211 fills in the
required attributes or does not send the event. Keep the checks in
place, but minimize the extra code in wpa_supplicant/hostapd.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211_event.c