diff options
author | Michael Braun <michael-dev@fami-braun.de> | 2016-10-31 14:40:59 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-12-13 16:04:57 +0100 |
commit | b528414ca3b7b57f4f81b7ff207e6f8ffde89d2e (patch) | |
tree | 52b8f0fc58d10261957101011da5931f8ff11404 /net/wireless | |
parent | 5a88de5342f3090d8292132a392094034d85d101 (diff) | |
download | linux-b528414ca3b7b57f4f81b7ff207e6f8ffde89d2e.tar.gz linux-b528414ca3b7b57f4f81b7ff207e6f8ffde89d2e.tar.bz2 linux-b528414ca3b7b57f4f81b7ff207e6f8ffde89d2e.zip |
nl80211: multicast_to_unicast can be changed while IFF_UP
There is no need to prevent toggling multicast_to_unicast while
interface is already up. This change simplifies reconfiguration
from hostapd.
Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/nl80211.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index db1a434f6169..7762231abd32 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -11804,9 +11804,6 @@ static int nl80211_set_multicast_to_unicast(struct sk_buff *skb, const struct nlattr *nla; bool enabled; - if (netif_running(dev)) - return -EBUSY; - if (!rdev->ops->set_multicast_to_unicast) return -EOPNOTSUPP; |