summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorJavier Cardona2011-04-08 00:08:35 +0200
committerJohn W. Linville2011-04-12 22:58:24 +0200
commit1570ca59279a74db73b8ff840abdfaf64a9ee2ff (patch)
tree70f7484c73af02a3ebe35addc6801cb9c18efa92 /net/mac80211/mesh.c
parentnl80211: New notification to discover mesh peer candidates. (diff)
downloadkernel-qcow2-linux-1570ca59279a74db73b8ff840abdfaf64a9ee2ff.tar.gz
kernel-qcow2-linux-1570ca59279a74db73b8ff840abdfaf64a9ee2ff.tar.xz
kernel-qcow2-linux-1570ca59279a74db73b8ff840abdfaf64a9ee2ff.zip
mac80211: send notification on new peer candidate for our secure mesh
Also, advertise support for mesh authentication. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r--net/mac80211/mesh.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 47a26c0f6993..11207979e2e2 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -590,9 +590,7 @@ static void ieee80211_mesh_rx_bcn_presp(struct ieee80211_sub_if_data *sdata,
if (elems.mesh_id && elems.mesh_config &&
mesh_matches_local(&elems, sdata)) {
supp_rates = ieee80211_sta_get_rates(local, &elems, band);
-
- mesh_neighbour_update(mgmt->sa, supp_rates, sdata,
- mesh_peer_accepts_plinks(&elems));
+ mesh_neighbour_update(mgmt->sa, supp_rates, sdata, &elems);
}
}