linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 1/2] nl80211: multicast_to_unicast can be changed while IFF_UP
@ 2016-10-31 13:40 Michael Braun
  2016-10-31 13:41 ` [PATCH v7 2/2] mac80211: multicast to unicast conversion Michael Braun
  2016-11-21 12:50 ` [PATCH v7 1/2] nl80211: multicast_to_unicast can be changed while IFF_UP Johannes Berg
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Braun @ 2016-10-31 13:40 UTC (permalink / raw)
  To: johannes; +Cc: Michael Braun, linux-wireless, netdev, projekt-wlan

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>
---
 net/wireless/nl80211.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 5349c63..7554400 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -11006,9 +11006,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;
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-21 13:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 13:40 [PATCH v7 1/2] nl80211: multicast_to_unicast can be changed while IFF_UP Michael Braun
2016-10-31 13:41 ` [PATCH v7 2/2] mac80211: multicast to unicast conversion Michael Braun
2016-11-21 13:24   ` Johannes Berg
2016-11-21 12:50 ` [PATCH v7 1/2] nl80211: multicast_to_unicast can be changed while IFF_UP Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).