projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a88de5
)
nl80211: multicast_to_unicast can be changed while IFF_UP
author
Michael Braun
<michael-dev@fami-braun.de>
Mon, 31 Oct 2016 13:40:59 +0000
(14:40 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Tue, 13 Dec 2016 15:04:57 +0000
(16:04 +0100)
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>
net/wireless/nl80211.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index db1a434f6169751085a79e9a900484cdef72e5a0..7762231abd327518ee7b76d164eebcb33f875f50 100644
(file)
--- 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;