summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-04-14 15:37:03 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-04-16 21:59:57 +0200
commitb454048cb933eb69dd9d46c16bf01e9df997fa3d (patch)
tree9abb219a4acbc06ff508b36268f42c523d69adc4 /net/mac80211/cfg.c
parentb43legacy: fix TBTT and PU timings (diff)
downloadlinux-b454048cb933eb69dd9d46c16bf01e9df997fa3d.tar.xz
linux-b454048cb933eb69dd9d46c16bf01e9df997fa3d.zip
mac80211: allow WDS mode
This allows creating interfaces in WDS mode or switching existing ones into WDS mode (both via cfg80211 and wext.) Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 0c1095aa94dd..699d97b8de5e 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -33,6 +33,8 @@ nl80211_type_to_mac80211_type(enum nl80211_iftype type)
case NL80211_IFTYPE_MESH_POINT:
return IEEE80211_IF_TYPE_MESH_POINT;
#endif
+ case NL80211_IFTYPE_WDS:
+ return IEEE80211_IF_TYPE_WDS;
default:
return IEEE80211_IF_TYPE_INVALID;
}