Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b528414c authored by Michael Braun's avatar Michael Braun Committed by Johannes Berg
Browse files

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: default avatarMichael Braun <michael-dev@fami-braun.de>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 5a88de53
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;