mac80211: ignore peers if security is enabled for this mesh
Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
15d5dda623
commit
5cff5e01e8
@ -449,6 +449,10 @@ void mesh_rx_plink_frame(struct ieee80211_sub_if_data *sdata, struct ieee80211_m
|
||||
mpl_dbg("Mesh plink: missing necessary peer link ie\n");
|
||||
return;
|
||||
}
|
||||
if (elems.rsn_len && !sdata->u.mesh.is_secure) {
|
||||
mpl_dbg("Mesh plink: can't establish link with secure peer\n");
|
||||
return;
|
||||
}
|
||||
|
||||
ftype = mgmt->u.action.u.plink_action.action_code;
|
||||
ie_len = elems.peer_link_len;
|
||||
|
Reference in New Issue
Block a user