aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-02-03 09:48:03 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:28 -0500
commitadfdbb79c06154cd3cc7b5983106ace324aa3b02 (patch)
tree0cd8fc1e232d0b290a6dd8a9c2f503c7a51e2449 /drivers/net/wireless
parent3b3618ad5117331b6fa7cafc41fc18935709e569 (diff)
rt2x00: Enable master and adhoc mode again
This will enable the creation of master mode and adhoc interfaces again. This does not mean the issues surrounding beaconing have been resolved, but this will make testing easier and perhaps we can discover which cards are actually working and which ones not. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00mac.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c
index 380cc5b33131..f08c151ee4ba 100644
--- a/drivers/net/wireless/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/rt2x00/rt2x00mac.c
@@ -164,14 +164,6 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw,
164 struct rt2x00_dev *rt2x00dev = hw->priv; 164 struct rt2x00_dev *rt2x00dev = hw->priv;
165 struct interface *intf = &rt2x00dev->interface; 165 struct interface *intf = &rt2x00dev->interface;
166 166
167 /* FIXME: Beaconing is broken in rt2x00. */
168 if (conf->type == IEEE80211_IF_TYPE_IBSS ||
169 conf->type == IEEE80211_IF_TYPE_AP) {
170 ERROR(rt2x00dev,
171 "rt2x00 does not support Adhoc or Master mode");
172 return -EOPNOTSUPP;
173 }
174
175 /* 167 /*
176 * Don't allow interfaces to be added while 168 * Don't allow interfaces to be added while
177 * either the device has disappeared or when 169 * either the device has disappeared or when