Failed to connect an AP vai WPS on kernel >= 3.11

Jouni Malinen j
Fri Aug 28 08:45:49 PDT 2015


On Fri, Aug 28, 2015 at 12:38:02PM +0300, Jouni Malinen wrote:
> Sure, but why would the driver indicate that the disconnection was not
> locally_generated when handling a case that was initiated by
> wpa_supplicant?
> 
> Is this specific version of the driver source code available somewhere
> or can you at least note what are the exact arguments passed to
> cfg80211_disconnected() in the case where disconnection happens due to a
> request from wpa_supplicant? I'm particularly interested in what the
> locally_generated parameter is in that case since that determines
> whether NL80211_ATTR_DISCONNECTED_BY_AP is added..

Ah.. This is actually addressed by a recent kernel commit
80279fb7ba5b71981a60988b0307afa43f78f6b1 ('cfg80211: properly send
NL80211_ATTR_DISCONNECTED_BY_AP in disconnect'). This adds that
locally_generated parameter to cfg80211_disconnected() and you may want
to pull that commit in into the kernel version used here..

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list