mac80211: support userspace MPM
Earlier mac80211 would check whether some kind of mesh security was enabled, when the real question was "is the MPM in userspace"? Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
eef941e6d6
commit
a6dad6a26e
6 changed files with 14 additions and 6 deletions
|
@ -2543,7 +2543,7 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
|
|||
case WLAN_SP_MESH_PEERING_CONFIRM:
|
||||
if (!ieee80211_vif_is_mesh(&sdata->vif))
|
||||
goto invalid;
|
||||
if (sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE)
|
||||
if (sdata->u.mesh.user_mpm)
|
||||
/* userspace handles this frame */
|
||||
break;
|
||||
goto queue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue