hostapd: return with 80211 codes in handle event function
authorNick Hainke <vincent@systemli.org>
Sun, 14 Jan 2018 00:26:13 +0000 (01:26 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Feb 2018 18:28:56 +0000 (19:28 +0100)
commite2681eb06a7d482d0595bb0a58920bc5358c61f7
tree1433e2c3339c8d5a4766382707ea50492e67cdae
parent83b4fa9b3ba5622f9219094a4060d76ffe05c717
hostapd: return with 80211 codes in handle event function

If the auth or assoc request was denied the reason
was always WLAN_STATUS_UNSPECIFIED_FAILURE.
That's why for example the wpa supplicant was always
trying to reconnect to the AP.
Now it's possible to give reasoncodes why the auth
or assoc was denied.

Signed-off-by: Nick Hainke <vincent@systemli.org>
package/network/services/hostapd/patches/600-ubus_support.patch
package/network/services/hostapd/src/src/ap/ubus.c