Skip to content

Commit

Permalink
nl80211: multicast_to_unicast can be changed while IFF_UP
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
  • Loading branch information
michael-dev authored and jmberg-intel committed Dec 13, 2016
1 parent 5a88de5 commit b528414
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b528414

Please sign in to comment.