diff options
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index a2ff47493e0a..ed3400cd7a5a 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -738,6 +738,7 @@ static void sta_apply_parameters(struct ieee80211_local *local, | |||
738 | &sta->sta.ht_cap); | 738 | &sta->sta.ht_cap); |
739 | 739 | ||
740 | if (ieee80211_vif_is_mesh(&sdata->vif)) { | 740 | if (ieee80211_vif_is_mesh(&sdata->vif)) { |
741 | #ifdef CONFIG_MAC80211_MESH | ||
741 | if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED) | 742 | if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED) |
742 | switch (params->plink_state) { | 743 | switch (params->plink_state) { |
743 | case PLINK_LISTEN: | 744 | case PLINK_LISTEN: |
@@ -758,6 +759,7 @@ static void sta_apply_parameters(struct ieee80211_local *local, | |||
758 | mesh_plink_block(sta); | 759 | mesh_plink_block(sta); |
759 | break; | 760 | break; |
760 | } | 761 | } |
762 | #endif | ||
761 | } | 763 | } |
762 | } | 764 | } |
763 | 765 | ||