aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@cozybit.com>2013-03-04 16:06:11 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 10:36:11 -0500
commiteef941e6d6be8bce72b5c2963b69f948be4df7a7 (patch)
tree46081b4ec60c8fdc2c39cb53822421afd6930e99 /net/wireless
parentbb2798d45fc0575f5d08c0bb7baf4d5d5e8cc0c3 (diff)
cfg80211: rename mesh station types
The mesh station types used to refer to whether the station was secure or nonsecure. Really the salient information is whether it is managed by the kernel or userspace Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/nl80211.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index bdf39836d9d8..946b2e7acdf2 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -3617,8 +3617,8 @@ int cfg80211_check_station_change(struct wiphy *wiphy,
3617 BUILD_BUG_ON(NL80211_STA_FLAG_MAX != 7); 3617 BUILD_BUG_ON(NL80211_STA_FLAG_MAX != 7);
3618 3618
3619 switch (statype) { 3619 switch (statype) {
3620 case CFG80211_STA_MESH_PEER_NONSEC: 3620 case CFG80211_STA_MESH_PEER_KERNEL:
3621 case CFG80211_STA_MESH_PEER_SECURE: 3621 case CFG80211_STA_MESH_PEER_USER:
3622 /* 3622 /*
3623 * No ignoring the TDLS flag here -- the userspace mesh 3623 * No ignoring the TDLS flag here -- the userspace mesh
3624 * code doesn't have the bug of including TDLS in the 3624 * code doesn't have the bug of including TDLS in the
@@ -3720,11 +3720,11 @@ int cfg80211_check_station_change(struct wiphy *wiphy,
3720 case CFG80211_STA_TDLS_PEER_ACTIVE: 3720 case CFG80211_STA_TDLS_PEER_ACTIVE:
3721 /* reject any changes */ 3721 /* reject any changes */
3722 return -EINVAL; 3722 return -EINVAL;
3723 case CFG80211_STA_MESH_PEER_NONSEC: 3723 case CFG80211_STA_MESH_PEER_KERNEL:
3724 if (params->sta_modify_mask & STATION_PARAM_APPLY_PLINK_STATE) 3724 if (params->sta_modify_mask & STATION_PARAM_APPLY_PLINK_STATE)
3725 return -EINVAL; 3725 return -EINVAL;
3726 break; 3726 break;
3727 case CFG80211_STA_MESH_PEER_SECURE: 3727 case CFG80211_STA_MESH_PEER_USER:
3728 if (params->plink_action != NL80211_PLINK_ACTION_NO_ACTION) 3728 if (params->plink_action != NL80211_PLINK_ACTION_NO_ACTION)
3729 return -EINVAL; 3729 return -EINVAL;
3730 break; 3730 break;