Revert "mac80211: keep sending peer candidate events while in listen state"
authorBob Copeland <me@bobcopeland.com>
Thu, 22 Jan 2015 21:49:53 +0000 (16:49 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 09:57:19 +0000 (10:57 +0100)
commit985e88b13a25599eeb46b03c123531a5a11ac1cd
tree1a3a122920b86c01e7f662b8300ee68f11829b11
parent332ff7fe36bfdcab4ae7d35a2273ce431bf15171
Revert "mac80211: keep sending peer candidate events while in listen state"

This reverts commit 2ae70efcea7a695a62bb47170d3fb16674b8dbea.

The new peer events that are generated by the change are causing problems
with wpa_supplicant in userspace: wpa_s tries to restart SAE authentication
with the peer when receiving the event, even though authentication may be in
progress already, and it gets very confused.

Revert back to the original operating mode, which is to only get events when
there is no corresponding station entry.

Cc: Nishikawa, Kenzoh <Kenzoh.Nishikawa@jp.sony.com>
Cc: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c