summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2011-04-07 15:08:35 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-04-12 16:58:24 -0400
commit1570ca59279a74db73b8ff840abdfaf64a9ee2ff (patch)
tree70f7484c73af02a3ebe35addc6801cb9c18efa92 /net/mac80211/mesh.c
parentc93b5e717ec47b57abfe0229360bc11e77520984 (diff)
downloadop-kernel-dev-1570ca59279a74db73b8ff840abdfaf64a9ee2ff.zip
op-kernel-dev-1570ca59279a74db73b8ff840abdfaf64a9ee2ff.tar.gz
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 47a26c0..1120797 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);
}
}
OpenPOWER on IntegriCloud