On Mon, Jan 09, 2017 at 09:24:56PM +0100, Arend Van Spriel wrote:
> > diff --git a/net/wireless/sme.c b/net/wireless/sme.c
> > @@ -38,6 +38,7 @@ struct cfg80211_conn {
> >             CFG80211_CONN_ASSOCIATE_NEXT,
> >             CFG80211_CONN_ASSOCIATING,
> >             CFG80211_CONN_ASSOC_FAILED,
> > +           CFG80211_CONN_ASSOC_FAILED_TIMEOUT,
> 
> Was kinda expecting AUTH_FAILED_TIMEOUT....

Me too when going through the changes.. But only the association failure
cases had different triggers that needed a change here.

> > @@ -172,6 +174,7 @@ static int cfg80211_conn_do_work(struct wireless_dev 
> > *wdev)
> >     case CFG80211_CONN_AUTH_FAILED:
> > +           *treason = NL80211_TIMEOUT_AUTH;
> 
> ... but it seems AUTH failure always is a timeout?

The CFG80211_CONN_AUTH_FAILED case is currently used only in
cfg80211_sme_auth_timeout() which is indeed always a timeout.

-- 
Jouni Malinen                                            PGP id EFC895FA

Reply via email to