Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73445
b: refs/heads/master
c: 453a3fb
h: refs/heads/master
i:
  73443: 3931dd7
v: v3
  • Loading branch information
Ivo van Doorn authored and Jeff Garzik committed Nov 10, 2007
1 parent 800096c commit 7c581f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29f5f2a19b055feabfcc6f92e1d40ec092c373ea
refs/heads/master: 453a3fb9bd1fa50cdf4b69b9936c69497e870774
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/rt2x00/rt2x00mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw,
struct rt2x00_dev *rt2x00dev = hw->priv;
struct interface *intf = &rt2x00dev->interface;

/* FIXME: Beaconing is broken in rt2x00. */
if (conf->type == IEEE80211_IF_TYPE_IBSS ||
conf->type == IEEE80211_IF_TYPE_AP) {
ERROR(rt2x00dev,
"rt2x00 does not support Adhoc or Master mode");
return -EOPNOTSUPP;
}

/*
* Don't allow interfaces to be added while
* either the device has disappeared or when
Expand Down

0 comments on commit 7c581f6

Please sign in to comment.