diff options
author | Bertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be> | 2015-08-05 16:02:21 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-08-14 17:49:48 +0200 |
commit | 876dc9308e8b8a8fb57059234e57f4145c870c3c (patch) | |
tree | 3bbac54759a705195b5e69f0bfd2d4a5161b3532 /net/wireless/nl80211.c | |
parent | 9189ee31df40f88808daee10aa7f99ba43ff8b13 (diff) | |
download | op-kernel-dev-876dc9308e8b8a8fb57059234e57f4145c870c3c.zip op-kernel-dev-876dc9308e8b8a8fb57059234e57f4145c870c3c.tar.gz |
nl80211: Allow setting multicast rate on OCB interfaces
Allow setting multicast rate on OCB interfaces.
Current behaviour results in EOPNOTSUPP when attempting this.
Signed-off-by: Bertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 5849fa1..5d8748b 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -7391,7 +7391,8 @@ static int nl80211_set_mcast_rate(struct sk_buff *skb, struct genl_info *info) int err; if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC && - dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) + dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT && + dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) return -EOPNOTSUPP; if (!rdev->ops->set_mcast_rate) |