Re: [PATCH] cfg80211: Allow cfg80211_connect_result() errors to be distinguished

2016-05-31 Thread Johannes Berg
On Tue, 2016-05-31 at 00:16 +0300, Jouni Malinen wrote: > Previously, the status parameter to cfg80211_connect_result() was > documented as using WLAN_STATUS_UNSPECIFIED_FAILURE (1) when the real > status code for the failure is not known. This value can be used by > an > AP (and often is) and as

[PATCH] cfg80211: Allow cfg80211_connect_result() errors to be distinguished

2016-05-30 Thread Jouni Malinen
Previously, the status parameter to cfg80211_connect_result() was documented as using WLAN_STATUS_UNSPECIFIED_FAILURE (1) when the real status code for the failure is not known. This value can be used by an AP (and often is) and as such, user space cannot distinguish between explicitly rejected