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)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Dec 2016 15:05:11 +0000 (16:05 +0100)
commit11197d006bcfabf0173a7820a163fcaac420d10e
tree3af7999c1e3a29f2ab777935fbceaa2562e58574
parentebceec860fc370b2f4c23e95c51daa932e047913
mac80211: Suppress NEW_PEER_CANDIDATE event if no room

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>
net/mac80211/mesh_plink.c