aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
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/mac80211/cfg.c
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/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 9d708f9e246e..6ac89e5c2963 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1436,9 +1436,9 @@ static int ieee80211_change_station(struct wiphy *wiphy,
1436 switch (sdata->vif.type) { 1436 switch (sdata->vif.type) {
1437 case NL80211_IFTYPE_MESH_POINT: 1437 case NL80211_IFTYPE_MESH_POINT:
1438 if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED) 1438 if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED)
1439 statype = CFG80211_STA_MESH_PEER_SECURE; 1439 statype = CFG80211_STA_MESH_PEER_USER;
1440 else 1440 else
1441 statype = CFG80211_STA_MESH_PEER_NONSEC; 1441 statype = CFG80211_STA_MESH_PEER_KERNEL;
1442 break; 1442 break;
1443 case NL80211_IFTYPE_ADHOC: 1443 case NL80211_IFTYPE_ADHOC:
1444 statype = CFG80211_STA_IBSS; 1444 statype = CFG80211_STA_IBSS;