OSDN Git Service

mac80211: Suppress NEW_PEER_CANDIDATE event if no room
authorMasashi Honma <masashi.honma@gmail.com>
Wed, 30 Nov 2016 00:06:04 +0000 (09:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Nov 2017 08:39:13 +0000 (08:39 +0000)
commit26b6ab58999157081ea1cb7df95993a2fe1cb066
tree8a67520a59e24574bdf96af9335cbaec4c727b6b
parentd21e50a14c88cc93dff628550078e2204169ba85
mac80211: Suppress NEW_PEER_CANDIDATE event if no room

[ Upstream commit 11197d006bcfabf0173a7820a163fcaac420d10e ]

Previously, kernel sends NEW_PEER_CANDIDATE event to user land even if
the found peer does not have any room to accept other peer. This causes
continuous connection trials.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mesh_plink.c