diff options
author | Ashok Nagarajan <ashok@cozybit.com> | 2012-04-02 21:21:22 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-11 16:23:47 -0400 |
commit | fe40cb6274988852aa5a84440d8f81c00cea4028 (patch) | |
tree | 06bc58c36c4c9f50e4f737b650a8004d9287bb6b /net/mac80211/mesh_plink.c | |
parent | 9ebb61a23d90703344fc609fbee8da67b1e7456c (diff) | |
download | op-kernel-dev-fe40cb6274988852aa5a84440d8f81c00cea4028.zip op-kernel-dev-fe40cb6274988852aa5a84440d8f81c00cea4028.tar.gz |
mac80211: Check basic rates when peering
Section 13.2.3 of IEEE 80211s standard requires BSSBasicRateSet of mesh nodes
to be identical to establish peer link.
Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh_plink.c')
-rw-r--r-- | net/mac80211/mesh_plink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c index 91e2043..9c836e7 100644 --- a/net/mac80211/mesh_plink.c +++ b/net/mac80211/mesh_plink.c @@ -564,7 +564,7 @@ void mesh_rx_plink_frame(struct ieee80211_sub_if_data *sdata, struct ieee80211_m rx_status->band, &basic_rates); if (ftype != WLAN_SP_MESH_PEERING_CLOSE && - (!mesh_matches_local(&elems, sdata))) { + (!mesh_matches_local(&elems, sdata, basic_rates))) { matches_local = false; switch (ftype) { case WLAN_SP_MESH_PEERING_OPEN: |